diff --git a/examples/sites/env/.env.saasopen b/examples/sites/env/.env.saasopen new file mode 100644 index 000000000..903f697e1 --- /dev/null +++ b/examples/sites/env/.env.saasopen @@ -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 \ No newline at end of file diff --git a/examples/sites/env/.env.saasprod b/examples/sites/env/.env.saasprod new file mode 100644 index 000000000..5fb116cab --- /dev/null +++ b/examples/sites/env/.env.saasprod @@ -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 \ No newline at end of file diff --git a/examples/sites/package.json b/examples/sites/package.json index 5e31bd326..cec751f92 100644 --- a/examples/sites/package.json +++ b/examples/sites/package.json @@ -10,8 +10,10 @@ "build:inner:alpha": "vite build --mode inneralpha", "build:mobile:alpha": "vite build --mode mobilealpha", "build:mobile:prod": "vite build --mode mobileprod", - "build:inner:saas": "vite build --mode innersaas", "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:open": "vite build --mode open", "prettier": "npx prettier --write ./**/*.{ts,tsx,css,less,scss,vue}", diff --git a/packages/theme-saas/src/skeleton-item/index.less b/packages/theme-saas/src/skeleton-item/index.less new file mode 100644 index 000000000..e69de29bb diff --git a/packages/theme-saas/src/skeleton/index.less b/packages/theme-saas/src/skeleton/index.less new file mode 100644 index 000000000..e69de29bb