Skip to content

Commit 8d64cfc

Browse files
authored
chore: update build command and environment variable for saas configuration (#3805)
1 parent 4e097d4 commit 8d64cfc

File tree

4 files changed

+12
-3
lines changed

4 files changed

+12
-3
lines changed

examples/sites/env/.env.saas

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# 1、声明一个变量
22
VITE_CONTEXT=/tiny-vue-saas/
3-
VITE_BUILD_TARGET='open'
3+
VITE_BUILD_TARGET='inner'
44
VITE_TINY_THEME='saas'
55
# 官网应用类型:pc / mobile / mobile-first
66
VITE_APP_MODE='pc'

examples/sites/env/.env.saaspages

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# 1、声明一个变量
2+
VITE_CONTEXT=/tiny-vue-saas-web-doc/
3+
VITE_BUILD_TARGET='inner'
4+
VITE_TINY_THEME='saas'
5+
# 官网应用类型:pc / mobile / mobile-first
6+
VITE_APP_MODE='pc'
7+
8+
VITE_APP_BUILD_BASE_URL='/tiny-vue-saas-web-doc/'
9+
VITE_PLAYGROUND_URL=/playground.html

examples/sites/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"build:saas:open": "vite build --mode saasopen",
1717
"build:saas:prod": "vite build --mode saasprod",
1818
"build": "vite build --mode pages && cp cp-component-md.sh ./dist",
19-
"build:saas": "vite build --mode saas && cp cp-component-md.sh ./dist",
19+
"build:saas": "vite build --mode saaspages && cp cp-component-md.sh ./dist",
2020
"build:mobile:page": "vite build --mode mobilepages && cp cp-component-md.sh ./dist",
2121
"build:visualizer": "vite build --mode visualizer",
2222
"build:open": "vite build --mode open",

packages/vue/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,4 +238,4 @@
238238
"vue2.7": "npm:vue@2.7.10",
239239
"vue3": "npm:vue@3.3.9"
240240
}
241-
}
241+
}

0 commit comments

Comments
 (0)