ソースを参照

Merge branch 'master' of https://gogs.zfire.top/yanwen/overseas-jsm-mall-front

7746 2 日 前
コミット
751aacefce
2 ファイル変更8 行追加0 行削除
  1. 6 0
      .env.location
  2. 2 0
      package.json

+ 6 - 0
.env.location

@@ -0,0 +1,6 @@
+ENV = 'development'
+
+VITE_APP_BASE_API = 'http://localhost:33004/overseas-miniapp'
+
+VITE_APP_BASE_OSS = 'http://localhost:33004/overseas-miniapp/img/get?key='
+

+ 2 - 0
package.json

@@ -5,7 +5,9 @@
   "type": "module",
   "scripts": {
     "dev": "vite",
+    "location": "vite --mode location",
     "build": "vite build",
+    "build:prd": "vite build --mode production",
     "preview": "vite preview"
   },
   "dependencies": {