Przeglądaj źródła

fix:新增dev host 接口

MTrun 3 lat temu
rodzic
commit
df2c9eea98
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      package.json

+ 1 - 1
package.json

@@ -2,7 +2,7 @@
   "name": "go-view",
   "version": "0.1.0",
   "scripts": {
-    "dev": "vite",
+    "dev": "vite --host",
     "build": "vue-tsc --noEmit && vite build",
     "lint": "eslint \"{src}/**/*.{vue,ts,tsx}\" --fix --ext",
     "new": "plop --plopfile ./plop/plopfile.js"