@opentinyvue/vue-docs 3.21.2 → 3.21.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,9 @@
1
+ # 1、声明一个变量
2
+ VITE_CONTEXT=/tiny-vue/
3
+ VITE_BUILD_TARGET='inner'
4
+ # 官网应用类型:pc / mobile / mobile-first
5
+ VITE_APP_MODE='mobile'
6
+
7
+ VITE_APP_BUILD_BASE_URL='/tiny-vue/'
8
+ VITE_PLAYGROUND_URL=/playground.html
9
+ VITE_MOBILE_URL=/mobile.html
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opentinyvue/vue-docs",
3
- "version": "3.21.2",
3
+ "version": "3.21.4",
4
4
  "license": "MIT",
5
5
  "devDependencies": {
6
6
  "@playwright/test": "~1.49.0",
@@ -60,8 +60,8 @@
60
60
  "@opentiny/vue": "~3.21.1",
61
61
  "@opentiny/vue-common": "~3.21.0",
62
62
  "@opentiny/vue-design-aurora": "~3.21.0",
63
- "@opentiny/vue-design-saas": "~3.21.0",
64
63
  "@opentiny/vue-design-smb": "~3.21.0",
64
+ "@opentiny/vue-design-saas": "~3.21.0",
65
65
  "@opentiny/vue-directive": "~3.21.0",
66
66
  "@opentiny/vue-hooks": "~3.21.0",
67
67
  "@opentiny/vue-icon": "~3.21.0",
@@ -89,6 +89,7 @@
89
89
  "build:saas:open": "vite build --mode saasopen",
90
90
  "build:saas:prod": "vite build --mode saasprod",
91
91
  "build": "vite build --mode pages && cp cp-component-md.sh ./dist",
92
+ "build:mobile:page": "vite build --mode mobilepages && cp cp-component-md.sh ./dist",
92
93
  "build:visualizer": "vite build --mode visualizer",
93
94
  "build:open": "vite build --mode open",
94
95
  "prettier": "npx prettier --write ./**/*.{ts,tsx,css,less,scss,vue}",
package/vite.extend.ts CHANGED
@@ -1,5 +1,7 @@
1
1
  import path from 'node:path'
2
2
  import tailwindCss from 'tailwindcss'
3
+ import fg from 'fast-glob'
4
+ import fs from 'fs-extra'
3
5
 
4
6
  // 删除构建后一些无用的静态资源
5
7
  export const delStaticPlugin = () => {