forked from opentiny/tiny-vue
feat(sites): add saas sites env (#1370)
This commit is contained in:
parent
e848314b4b
commit
a2d101bfeb
|
@ -0,0 +1,9 @@
|
||||||
|
# 1、声明一个变量
|
||||||
|
VITE_CONTEXT=/tiny-vue-saas/
|
||||||
|
VITE_BUILD_TARGET='open'
|
||||||
|
VITE_TINY_THEME='saas'
|
||||||
|
# 官网应用类型:pc / mobile / mobile-first
|
||||||
|
VITE_APP_MODE='pc'
|
||||||
|
|
||||||
|
VITE_APP_BUILD_BASE_URL=https://res.hc-cdn.com/tiny-vue-saas/${staticReleaseVersion}/
|
||||||
|
VITE_PLAYGROUND_URL=/vue-saas-playground
|
|
@ -0,0 +1,9 @@
|
||||||
|
# 1、声明一个变量
|
||||||
|
VITE_CONTEXT=/tiny-vue-saas/
|
||||||
|
VITE_BUILD_TARGET='inner'
|
||||||
|
VITE_TINY_THEME='saas'
|
||||||
|
# 官网应用类型:pc / mobile / mobile-first
|
||||||
|
VITE_APP_MODE='pc'
|
||||||
|
|
||||||
|
VITE_APP_BUILD_BASE_URL=https://res.hc-cdn.com/tiny-vue-saas/${staticReleaseVersion}/
|
||||||
|
VITE_PLAYGROUND_URL=/vue-saas-playground
|
|
@ -10,8 +10,10 @@
|
||||||
"build:inner:alpha": "vite build --mode inneralpha",
|
"build:inner:alpha": "vite build --mode inneralpha",
|
||||||
"build:mobile:alpha": "vite build --mode mobilealpha",
|
"build:mobile:alpha": "vite build --mode mobilealpha",
|
||||||
"build:mobile:prod": "vite build --mode mobileprod",
|
"build:mobile:prod": "vite build --mode mobileprod",
|
||||||
"build:inner:saas": "vite build --mode innersaas",
|
|
||||||
"build:inner:prod": "vite build --mode innerprod",
|
"build:inner:prod": "vite build --mode innerprod",
|
||||||
|
"build:saas:alpha": "vite build --mode innersaas",
|
||||||
|
"build:saas:open": "vite build --mode saasopen",
|
||||||
|
"build:saas:prod": "vite build --mode saasprod",
|
||||||
"build": "vite build",
|
"build": "vite build",
|
||||||
"build:open": "vite build --mode open",
|
"build:open": "vite build --mode open",
|
||||||
"prettier": "npx prettier --write ./**/*.{ts,tsx,css,less,scss,vue}",
|
"prettier": "npx prettier --write ./**/*.{ts,tsx,css,less,scss,vue}",
|
||||||
|
|
Loading…
Reference in New Issue