mirror of
				https://github.com/pure-admin/vue-pure-admin.git
				synced 2025-11-03 13:44:47 +08:00 
			
		
		
		
	chore: 升级vite至v5 版本,规定node版本>=18.0.0,pnpm版本>=8.6.10 (#738)
				
					
				
			This commit is contained in:
		
							parent
							
								
									6e195c8b5c
								
							
						
					
					
						commit
						10e68d681f
					
				@ -3,11 +3,11 @@ dist
 | 
				
			|||||||
*.d.ts
 | 
					*.d.ts
 | 
				
			||||||
/src/assets
 | 
					/src/assets
 | 
				
			||||||
package.json
 | 
					package.json
 | 
				
			||||||
.eslintrc.js
 | 
					.eslintrc.cjs
 | 
				
			||||||
.prettierrc.js
 | 
					.prettierrc.js
 | 
				
			||||||
commitlint.config.js
 | 
					commitlint.config.cjs
 | 
				
			||||||
postcss.config.js
 | 
					postcss.config.cjs
 | 
				
			||||||
tailwind.config.js
 | 
					tailwind.config.ts
 | 
				
			||||||
stylelint.config.js
 | 
					stylelint.config.cjs
 | 
				
			||||||
src/components/ReSplitPane/iconfont
 | 
					src/components/ReSplitPane/iconfont
 | 
				
			||||||
src/components/ReFlowChart/src/assets/iconfont
 | 
					src/components/ReFlowChart/src/assets/iconfont
 | 
				
			||||||
@ -1,4 +1,7 @@
 | 
				
			|||||||
module.exports = {
 | 
					// @ts-check
 | 
				
			||||||
 | 
					const { defineConfig } = require("eslint-define-config");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					module.exports = defineConfig({
 | 
				
			||||||
  root: true,
 | 
					  root: true,
 | 
				
			||||||
  env: {
 | 
					  env: {
 | 
				
			||||||
    node: true
 | 
					    node: true
 | 
				
			||||||
@ -42,7 +45,7 @@ module.exports = {
 | 
				
			|||||||
  parser: "vue-eslint-parser",
 | 
					  parser: "vue-eslint-parser",
 | 
				
			||||||
  parserOptions: {
 | 
					  parserOptions: {
 | 
				
			||||||
    parser: "@typescript-eslint/parser",
 | 
					    parser: "@typescript-eslint/parser",
 | 
				
			||||||
    ecmaVersion: 2020,
 | 
					    ecmaVersion: "latest",
 | 
				
			||||||
    sourceType: "module",
 | 
					    sourceType: "module",
 | 
				
			||||||
    jsxPragma: "React",
 | 
					    jsxPragma: "React",
 | 
				
			||||||
    ecmaFeatures: {
 | 
					    ecmaFeatures: {
 | 
				
			||||||
@ -117,4 +120,4 @@ module.exports = {
 | 
				
			|||||||
      }
 | 
					      }
 | 
				
			||||||
    ]
 | 
					    ]
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
}
 | 
					});
 | 
				
			||||||
							
								
								
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							@ -5,6 +5,7 @@ dist-ssr
 | 
				
			|||||||
*.local
 | 
					*.local
 | 
				
			||||||
.eslintcache
 | 
					.eslintcache
 | 
				
			||||||
report.html
 | 
					report.html
 | 
				
			||||||
 | 
					vite.config.*.timestamp*
 | 
				
			||||||
 | 
					
 | 
				
			||||||
yarn.lock
 | 
					yarn.lock
 | 
				
			||||||
npm-debug.log*
 | 
					npm-debug.log*
 | 
				
			||||||
 | 
				
			|||||||
@ -3,7 +3,7 @@
 | 
				
			|||||||
    "prettier --cache --ignore-unknown  --write",
 | 
					    "prettier --cache --ignore-unknown  --write",
 | 
				
			||||||
    "eslint --cache --fix"
 | 
					    "eslint --cache --fix"
 | 
				
			||||||
  ],
 | 
					  ],
 | 
				
			||||||
  "{!(package)*.json,*.code-snippets,.!(browserslist)*rc}": [
 | 
					  "{!(package)*.json,*.code-snippets,.!({browserslist,nvm})*rc}": [
 | 
				
			||||||
    "prettier --cache --write--parser json"
 | 
					    "prettier --cache --write--parser json"
 | 
				
			||||||
  ],
 | 
					  ],
 | 
				
			||||||
  "package.json": ["prettier --cache --write"],
 | 
					  "package.json": ["prettier --cache --write"],
 | 
				
			||||||
 | 
				
			|||||||
@ -1,4 +1,7 @@
 | 
				
			|||||||
module.exports = {
 | 
					// @ts-check
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					/** @type {import("prettier").Config} */
 | 
				
			||||||
 | 
					export default {
 | 
				
			||||||
  bracketSpacing: true,
 | 
					  bracketSpacing: true,
 | 
				
			||||||
  singleQuote: false,
 | 
					  singleQuote: false,
 | 
				
			||||||
  arrowParens: "avoid",
 | 
					  arrowParens: "avoid",
 | 
				
			||||||
 | 
				
			|||||||
@ -1,8 +1,8 @@
 | 
				
			|||||||
FROM node:16-alpine as build-stage
 | 
					FROM node:18-alpine as build-stage
 | 
				
			||||||
 | 
					
 | 
				
			||||||
WORKDIR /app
 | 
					WORKDIR /app
 | 
				
			||||||
RUN corepack enable
 | 
					RUN corepack enable
 | 
				
			||||||
RUN corepack prepare pnpm@7.32.1 --activate
 | 
					RUN corepack prepare pnpm@8.6.10 --activate
 | 
				
			||||||
 | 
					
 | 
				
			||||||
RUN npm config set registry https://registry.npmmirror.com
 | 
					RUN npm config set registry https://registry.npmmirror.com
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
@ -109,7 +109,7 @@ After operating the above two commands, open `http://localhost:8080` in the brow
 | 
				
			|||||||
Of course, you can also operate the `docker` project through the [Docker Desktop](https://www.docker.com/products/docker-desktop/) visual interface, as shown below
 | 
					Of course, you can also operate the `docker` project through the [Docker Desktop](https://www.docker.com/products/docker-desktop/) visual interface, as shown below
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<p align="center">
 | 
					<p align="center">
 | 
				
			||||||
  <img alt="docker" width="100%" src="https://yiming_chang.gitee.io/pure-admin-doc/img/docker/1.jpg">
 | 
					  <img alt="docker" width="100%" src="https://xiaoxian521.github.io/hyperlink/img/docker-desktop.jpg">
 | 
				
			||||||
</p>
 | 
					</p>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
## Change Log
 | 
					## Change Log
 | 
				
			||||||
@ -170,10 +170,10 @@ In principle, no fees and copyrights are charged, and it is commercially availab
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
Many thanks to the kind individuals who leave a star. Your support is much appreciated :heart:
 | 
					Many thanks to the kind individuals who leave a star. Your support is much appreciated :heart:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
[](https://github.com/pure-admin/vue-pure-admin/stargazers)
 | 
					[](https://github.com/pure-admin/vue-pure-admin/stargazers)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
## `Fork`
 | 
					## `Fork`
 | 
				
			||||||
 | 
					
 | 
				
			||||||
It's so cool that you study hard :heart:
 | 
					It's so cool that you study hard :heart:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
[](https://github.com/pure-admin/vue-pure-admin/network/members)
 | 
					[](https://github.com/pure-admin/vue-pure-admin/network/members)
 | 
				
			||||||
 | 
				
			|||||||
@ -109,7 +109,7 @@ docker run -dp 8080:80  --name pure-admin vue-pure-admin
 | 
				
			|||||||
当然也可以通过 [Docker Desktop](https://www.docker.com/products/docker-desktop/) 可视化界面去操作 `docker` 项目,如下图
 | 
					当然也可以通过 [Docker Desktop](https://www.docker.com/products/docker-desktop/) 可视化界面去操作 `docker` 项目,如下图
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<p align="center">
 | 
					<p align="center">
 | 
				
			||||||
  <img alt="docker" width="100%" src="https://yiming_chang.gitee.io/pure-admin-doc/img/docker/1.jpg">
 | 
					  <img alt="docker" width="100%" src="https://xiaoxian521.github.io/hyperlink/img/docker-desktop.jpg">
 | 
				
			||||||
</p>
 | 
					</p>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
## 更新日志
 | 
					## 更新日志
 | 
				
			||||||
@ -170,10 +170,10 @@ docker run -dp 8080:80  --name pure-admin vue-pure-admin
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
非常感谢留下星星的好心人,感谢您的支持 :heart:
 | 
					非常感谢留下星星的好心人,感谢您的支持 :heart:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
[](https://github.com/pure-admin/vue-pure-admin/stargazers)
 | 
					[](https://github.com/pure-admin/vue-pure-admin/stargazers)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
## `Fork`
 | 
					## `Fork`
 | 
				
			||||||
 | 
					
 | 
				
			||||||
瞧,那些 `小哥哥` 、`小姐姐` 认真 `学习` 的样子真滴是 `哎呦不错哦` :heart:
 | 
					瞧,那些 `小哥哥` 、`小姐姐` 认真 `学习` 的样子真滴是 `哎呦不错哦` :heart:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
[](https://github.com/pure-admin/vue-pure-admin/network/members)
 | 
					[](https://github.com/pure-admin/vue-pure-admin/network/members)
 | 
				
			||||||
 | 
				
			|||||||
@ -1,4 +1,4 @@
 | 
				
			|||||||
<!DOCTYPE html>
 | 
					<!doctype html>
 | 
				
			||||||
<html lang="en">
 | 
					<html lang="en">
 | 
				
			||||||
  <head>
 | 
					  <head>
 | 
				
			||||||
    <meta charset="UTF-8" />
 | 
					    <meta charset="UTF-8" />
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										118
									
								
								package.json
									
									
									
									
									
								
							
							
						
						
									
										118
									
								
								package.json
									
									
									
									
									
								
							@ -2,30 +2,7 @@
 | 
				
			|||||||
  "name": "vue-pure-admin",
 | 
					  "name": "vue-pure-admin",
 | 
				
			||||||
  "version": "4.5.0",
 | 
					  "version": "4.5.0",
 | 
				
			||||||
  "private": true,
 | 
					  "private": true,
 | 
				
			||||||
  "keywords": [
 | 
					  "type": "module",
 | 
				
			||||||
    "vue-pure-admin",
 | 
					 | 
				
			||||||
    "element-plus",
 | 
					 | 
				
			||||||
    "tailwindcss",
 | 
					 | 
				
			||||||
    "pure-admin",
 | 
					 | 
				
			||||||
    "typescript",
 | 
					 | 
				
			||||||
    "pinia",
 | 
					 | 
				
			||||||
    "vue3",
 | 
					 | 
				
			||||||
    "vite"
 | 
					 | 
				
			||||||
  ],
 | 
					 | 
				
			||||||
  "homepage": "https://github.com/pure-admin/vue-pure-admin",
 | 
					 | 
				
			||||||
  "bugs": {
 | 
					 | 
				
			||||||
    "url": "https://github.com/pure-admin/vue-pure-admin/issues"
 | 
					 | 
				
			||||||
  },
 | 
					 | 
				
			||||||
  "repository": {
 | 
					 | 
				
			||||||
    "type": "git",
 | 
					 | 
				
			||||||
    "url": "git+https://github.com/pure-admin/vue-pure-admin.git"
 | 
					 | 
				
			||||||
  },
 | 
					 | 
				
			||||||
  "license": "MIT",
 | 
					 | 
				
			||||||
  "author": {
 | 
					 | 
				
			||||||
    "name": "xiaoxian521",
 | 
					 | 
				
			||||||
    "email": "pureadmin@163.com",
 | 
					 | 
				
			||||||
    "url": "https://github.com/xiaoxian521"
 | 
					 | 
				
			||||||
  },
 | 
					 | 
				
			||||||
  "scripts": {
 | 
					  "scripts": {
 | 
				
			||||||
    "dev": "NODE_OPTIONS=--max-old-space-size=4096 vite",
 | 
					    "dev": "NODE_OPTIONS=--max-old-space-size=4096 vite",
 | 
				
			||||||
    "serve": "pnpm dev",
 | 
					    "serve": "pnpm dev",
 | 
				
			||||||
@ -45,6 +22,30 @@
 | 
				
			|||||||
    "prepare": "husky install",
 | 
					    "prepare": "husky install",
 | 
				
			||||||
    "preinstall": "npx only-allow pnpm"
 | 
					    "preinstall": "npx only-allow pnpm"
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
 | 
					  "keywords": [
 | 
				
			||||||
 | 
					    "vue-pure-admin",
 | 
				
			||||||
 | 
					    "element-plus",
 | 
				
			||||||
 | 
					    "tailwindcss",
 | 
				
			||||||
 | 
					    "pure-admin",
 | 
				
			||||||
 | 
					    "typescript",
 | 
				
			||||||
 | 
					    "pinia",
 | 
				
			||||||
 | 
					    "vue3",
 | 
				
			||||||
 | 
					    "vite"
 | 
				
			||||||
 | 
					  ],
 | 
				
			||||||
 | 
					  "homepage": "https://github.com/pure-admin/vue-pure-admin",
 | 
				
			||||||
 | 
					  "repository": {
 | 
				
			||||||
 | 
					    "type": "git",
 | 
				
			||||||
 | 
					    "url": "git+https://github.com/pure-admin/vue-pure-admin.git"
 | 
				
			||||||
 | 
					  },
 | 
				
			||||||
 | 
					  "bugs": {
 | 
				
			||||||
 | 
					    "url": "https://github.com/pure-admin/vue-pure-admin/issues"
 | 
				
			||||||
 | 
					  },
 | 
				
			||||||
 | 
					  "license": "MIT",
 | 
				
			||||||
 | 
					  "author": {
 | 
				
			||||||
 | 
					    "name": "xiaoxian521",
 | 
				
			||||||
 | 
					    "email": "pureadmin@163.com",
 | 
				
			||||||
 | 
					    "url": "https://github.com/xiaoxian521"
 | 
				
			||||||
 | 
					  },
 | 
				
			||||||
  "dependencies": {
 | 
					  "dependencies": {
 | 
				
			||||||
    "@amap/amap-jsapi-loader": "^1.0.1",
 | 
					    "@amap/amap-jsapi-loader": "^1.0.1",
 | 
				
			||||||
    "@howdyjs/mouse-menu": "2.0.9",
 | 
					    "@howdyjs/mouse-menu": "2.0.9",
 | 
				
			||||||
@ -53,19 +54,19 @@
 | 
				
			|||||||
    "@pureadmin/descriptions": "^1.2.0",
 | 
					    "@pureadmin/descriptions": "^1.2.0",
 | 
				
			||||||
    "@pureadmin/table": "^2.3.4",
 | 
					    "@pureadmin/table": "^2.3.4",
 | 
				
			||||||
    "@pureadmin/utils": "^1.9.10",
 | 
					    "@pureadmin/utils": "^1.9.10",
 | 
				
			||||||
    "@vueuse/core": "^10.5.0",
 | 
					    "@vueuse/core": "^10.6.0",
 | 
				
			||||||
    "@vueuse/motion": "^2.0.0",
 | 
					    "@vueuse/motion": "^2.0.0",
 | 
				
			||||||
    "@wangeditor/editor": "^5.1.23",
 | 
					    "@wangeditor/editor": "^5.1.23",
 | 
				
			||||||
    "@wangeditor/editor-for-vue": "^5.1.12",
 | 
					    "@wangeditor/editor-for-vue": "^5.1.12",
 | 
				
			||||||
    "@zxcvbn-ts/core": "^3.0.4",
 | 
					    "@zxcvbn-ts/core": "^3.0.4",
 | 
				
			||||||
    "animate.css": "^4.1.1",
 | 
					    "animate.css": "^4.1.1",
 | 
				
			||||||
    "axios": "^1.6.0",
 | 
					    "axios": "^1.6.1",
 | 
				
			||||||
    "china-area-data": "^5.0.1",
 | 
					    "china-area-data": "^5.0.1",
 | 
				
			||||||
    "cropperjs": "^1.6.1",
 | 
					    "cropperjs": "^1.6.1",
 | 
				
			||||||
    "dayjs": "^1.11.10",
 | 
					    "dayjs": "^1.11.10",
 | 
				
			||||||
    "echarts": "^5.4.3",
 | 
					    "echarts": "^5.4.3",
 | 
				
			||||||
    "el-table-infinite-scroll": "^3.0.3",
 | 
					    "el-table-infinite-scroll": "^3.0.3",
 | 
				
			||||||
    "element-plus": "^2.4.1",
 | 
					    "element-plus": "^2.4.2",
 | 
				
			||||||
    "intro.js": "^7.2.0",
 | 
					    "intro.js": "^7.2.0",
 | 
				
			||||||
    "js-cookie": "^3.0.5",
 | 
					    "js-cookie": "^3.0.5",
 | 
				
			||||||
    "jsbarcode": "^3.11.5",
 | 
					    "jsbarcode": "^3.11.5",
 | 
				
			||||||
@ -81,56 +82,57 @@
 | 
				
			|||||||
    "qs": "^6.11.2",
 | 
					    "qs": "^6.11.2",
 | 
				
			||||||
    "responsive-storage": "^2.2.0",
 | 
					    "responsive-storage": "^2.2.0",
 | 
				
			||||||
    "sortablejs": "^1.15.0",
 | 
					    "sortablejs": "^1.15.0",
 | 
				
			||||||
    "swiper": "^11.0.3",
 | 
					    "swiper": "^11.0.4",
 | 
				
			||||||
    "typeit": "^8.7.1",
 | 
					    "typeit": "^8.7.1",
 | 
				
			||||||
    "v-contextmenu": "3.0.0",
 | 
					    "v-contextmenu": "3.0.0",
 | 
				
			||||||
    "v3-infinite-loading": "^1.3.1",
 | 
					    "v3-infinite-loading": "^1.3.1",
 | 
				
			||||||
    "version-rocket": "^1.7.0",
 | 
					    "version-rocket": "^1.7.1",
 | 
				
			||||||
    "vue": "^3.3.7",
 | 
					    "vue": "^3.3.8",
 | 
				
			||||||
    "vue-i18n": "^9.6.2",
 | 
					    "vue-i18n": "^9.6.5",
 | 
				
			||||||
    "vue-json-pretty": "^2.2.4",
 | 
					    "vue-json-pretty": "^2.2.4",
 | 
				
			||||||
    "vue-pdf-embed": "^1.2.1",
 | 
					    "vue-pdf-embed": "^1.2.1",
 | 
				
			||||||
    "vue-router": "^4.2.5",
 | 
					    "vue-router": "^4.2.5",
 | 
				
			||||||
    "vue-tippy": "^6.3.1",
 | 
					    "vue-tippy": "^6.3.1",
 | 
				
			||||||
    "vue-types": "^5.1.1",
 | 
					    "vue-types": "^5.1.1",
 | 
				
			||||||
    "vue-virtual-scroller": "2.0.0-beta.8",
 | 
					    "vue-virtual-scroller": "2.0.0-beta.8",
 | 
				
			||||||
    "vue-waterfall-plugin-next": "^2.2.4",
 | 
					    "vue-waterfall-plugin-next": "^2.2.6",
 | 
				
			||||||
    "vue3-danmaku": "^1.6.0",
 | 
					    "vue3-danmaku": "^1.6.0",
 | 
				
			||||||
    "vuedraggable": "^4.1.0",
 | 
					    "vuedraggable": "^4.1.0",
 | 
				
			||||||
    "wavesurfer.js": "^7.4.2",
 | 
					    "wavesurfer.js": "^7.4.5",
 | 
				
			||||||
    "xgplayer": "^3.0.9",
 | 
					    "xgplayer": "^3.0.9",
 | 
				
			||||||
    "xlsx": "^0.18.5"
 | 
					    "xlsx": "^0.18.5"
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
  "devDependencies": {
 | 
					  "devDependencies": {
 | 
				
			||||||
    "@commitlint/cli": "^17.7.2",
 | 
					    "@commitlint/cli": "^18.2.0",
 | 
				
			||||||
    "@commitlint/config-conventional": "^17.7.0",
 | 
					    "@commitlint/config-conventional": "^18.1.0",
 | 
				
			||||||
    "@faker-js/faker": "^8.2.0",
 | 
					    "@faker-js/faker": "^8.2.0",
 | 
				
			||||||
    "@iconify-icons/ep": "^1.2.12",
 | 
					    "@iconify-icons/ep": "^1.2.12",
 | 
				
			||||||
    "@iconify-icons/ri": "^1.2.10",
 | 
					    "@iconify-icons/ri": "^1.2.10",
 | 
				
			||||||
    "@iconify/vue": "^4.1.1",
 | 
					    "@iconify/vue": "^4.1.1",
 | 
				
			||||||
    "@intlify/unplugin-vue-i18n": "^1.4.0",
 | 
					    "@intlify/unplugin-vue-i18n": "^1.5.0",
 | 
				
			||||||
    "@pureadmin/theme": "^3.2.0",
 | 
					    "@pureadmin/theme": "^3.2.0",
 | 
				
			||||||
    "@types/intro.js": "^5.1.2",
 | 
					    "@types/intro.js": "^5.1.4",
 | 
				
			||||||
    "@types/js-cookie": "^3.0.4",
 | 
					    "@types/js-cookie": "^3.0.6",
 | 
				
			||||||
    "@types/node": "^20.8.2",
 | 
					    "@types/node": "^20.9.0",
 | 
				
			||||||
    "@types/nprogress": "0.2.0",
 | 
					    "@types/nprogress": "0.2.0",
 | 
				
			||||||
    "@types/qrcode": "^1.5.2",
 | 
					    "@types/qrcode": "^1.5.5",
 | 
				
			||||||
    "@types/qs": "^6.9.8",
 | 
					    "@types/qs": "^6.9.10",
 | 
				
			||||||
    "@types/sortablejs": "^1.15.3",
 | 
					    "@types/sortablejs": "^1.15.5",
 | 
				
			||||||
    "@typescript-eslint/eslint-plugin": "^6.7.4",
 | 
					    "@typescript-eslint/eslint-plugin": "^6.10.0",
 | 
				
			||||||
    "@typescript-eslint/parser": "^6.7.4",
 | 
					    "@typescript-eslint/parser": "^6.10.0",
 | 
				
			||||||
    "@vitejs/plugin-vue": "^4.4.0",
 | 
					    "@vitejs/plugin-vue": "^4.4.1",
 | 
				
			||||||
    "@vitejs/plugin-vue-jsx": "^3.0.2",
 | 
					    "@vitejs/plugin-vue-jsx": "^3.0.2",
 | 
				
			||||||
    "@vue/eslint-config-prettier": "^8.0.0",
 | 
					    "@vue/eslint-config-prettier": "^8.0.0",
 | 
				
			||||||
    "@vue/eslint-config-typescript": "^12.0.0",
 | 
					    "@vue/eslint-config-typescript": "^12.0.0",
 | 
				
			||||||
    "autoprefixer": "^10.4.16",
 | 
					    "autoprefixer": "^10.4.16",
 | 
				
			||||||
    "cloc": "^2.11.0",
 | 
					    "cloc": "^2.11.0",
 | 
				
			||||||
    "cssnano": "^6.0.1",
 | 
					    "cssnano": "^6.0.1",
 | 
				
			||||||
    "eslint": "^8.50.0",
 | 
					    "eslint": "^8.53.0",
 | 
				
			||||||
    "eslint-plugin-prettier": "^5.0.0",
 | 
					    "eslint-define-config": "^1.24.1",
 | 
				
			||||||
 | 
					    "eslint-plugin-prettier": "^5.0.1",
 | 
				
			||||||
    "eslint-plugin-vue": "^9.18.1",
 | 
					    "eslint-plugin-vue": "^9.18.1",
 | 
				
			||||||
    "husky": "^8.0.3",
 | 
					    "husky": "^8.0.3",
 | 
				
			||||||
    "lint-staged": "^14.0.1",
 | 
					    "lint-staged": "^15.0.2",
 | 
				
			||||||
    "picocolors": "^1.0.0",
 | 
					    "picocolors": "^1.0.0",
 | 
				
			||||||
    "postcss": "^8.4.31",
 | 
					    "postcss": "^8.4.31",
 | 
				
			||||||
    "postcss-html": "^1.5.0",
 | 
					    "postcss-html": "^1.5.0",
 | 
				
			||||||
@ -139,24 +141,23 @@
 | 
				
			|||||||
    "prettier": "^3.0.3",
 | 
					    "prettier": "^3.0.3",
 | 
				
			||||||
    "rimraf": "^5.0.5",
 | 
					    "rimraf": "^5.0.5",
 | 
				
			||||||
    "rollup-plugin-visualizer": "^5.9.2",
 | 
					    "rollup-plugin-visualizer": "^5.9.2",
 | 
				
			||||||
    "sass": "^1.69.0",
 | 
					    "sass": "^1.69.5",
 | 
				
			||||||
    "sass-loader": "^13.3.2",
 | 
					    "sass-loader": "^13.3.2",
 | 
				
			||||||
    "stylelint": "^15.10.3",
 | 
					    "stylelint": "^15.11.0",
 | 
				
			||||||
    "stylelint-config-html": "^1.1.0",
 | 
					    "stylelint-config-html": "^1.1.0",
 | 
				
			||||||
    "stylelint-config-recess-order": "^4.3.0",
 | 
					    "stylelint-config-recess-order": "^4.3.0",
 | 
				
			||||||
    "stylelint-config-recommended": "^13.0.0",
 | 
					    "stylelint-config-recommended": "^13.0.0",
 | 
				
			||||||
    "stylelint-config-recommended-scss": "^13.0.0",
 | 
					    "stylelint-config-recommended-scss": "^13.1.0",
 | 
				
			||||||
    "stylelint-config-recommended-vue": "^1.5.0",
 | 
					    "stylelint-config-recommended-vue": "^1.5.0",
 | 
				
			||||||
    "stylelint-config-standard": "^34.0.0",
 | 
					    "stylelint-config-standard": "^34.0.0",
 | 
				
			||||||
    "stylelint-config-standard-scss": "^11.0.0",
 | 
					    "stylelint-config-standard-scss": "^11.1.0",
 | 
				
			||||||
    "stylelint-order": "^6.0.3",
 | 
					    "stylelint-order": "^6.0.3",
 | 
				
			||||||
    "stylelint-prettier": "^4.0.2",
 | 
					    "stylelint-prettier": "^4.0.2",
 | 
				
			||||||
    "stylelint-scss": "^5.2.1",
 | 
					    "stylelint-scss": "^5.3.1",
 | 
				
			||||||
    "svgo": "^3.0.2",
 | 
					    "svgo": "^3.0.3",
 | 
				
			||||||
    "tailwindcss": "^3.3.5",
 | 
					    "tailwindcss": "^3.3.5",
 | 
				
			||||||
    "terser": "^5.24.0",
 | 
					 | 
				
			||||||
    "typescript": "^5.2.2",
 | 
					    "typescript": "^5.2.2",
 | 
				
			||||||
    "vite": "^4.5.0",
 | 
					    "vite": "5.0.0-beta.17",
 | 
				
			||||||
    "vite-plugin-cdn-import": "^0.3.5",
 | 
					    "vite-plugin-cdn-import": "^0.3.5",
 | 
				
			||||||
    "vite-plugin-compression": "^0.5.1",
 | 
					    "vite-plugin-compression": "^0.5.1",
 | 
				
			||||||
    "vite-plugin-fake-server": "^2.0.0",
 | 
					    "vite-plugin-fake-server": "^2.0.0",
 | 
				
			||||||
@ -165,6 +166,11 @@
 | 
				
			|||||||
    "vue-eslint-parser": "^9.3.2",
 | 
					    "vue-eslint-parser": "^9.3.2",
 | 
				
			||||||
    "vue-tsc": "^1.8.22"
 | 
					    "vue-tsc": "^1.8.22"
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
 | 
					  "engines": {
 | 
				
			||||||
 | 
					    "node": "^18.0.0 || >=20.0.0",
 | 
				
			||||||
 | 
					    "pnpm": ">=8.6.10"
 | 
				
			||||||
 | 
					  },
 | 
				
			||||||
 | 
					  "packageManager": "pnpm@8.6.10",
 | 
				
			||||||
  "pnpm": {
 | 
					  "pnpm": {
 | 
				
			||||||
    "peerDependencyRules": {
 | 
					    "peerDependencyRules": {
 | 
				
			||||||
      "ignoreMissing": [
 | 
					      "ignoreMissing": [
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										4154
									
								
								pnpm-lock.yaml
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										4154
									
								
								pnpm-lock.yaml
									
									
									
										generated
									
									
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							@ -1,3 +1,6 @@
 | 
				
			|||||||
 | 
					// @ts-check
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					/** @type {import("stylelint").Config} */
 | 
				
			||||||
module.exports = {
 | 
					module.exports = {
 | 
				
			||||||
  root: true,
 | 
					  root: true,
 | 
				
			||||||
  extends: [
 | 
					  extends: [
 | 
				
			||||||
@ -81,4 +84,4 @@ module.exports = {
 | 
				
			|||||||
    ]
 | 
					    ]
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
  ignoreFiles: ["**/*.js", "**/*.ts", "**/*.jsx", "**/*.tsx"]
 | 
					  ignoreFiles: ["**/*.js", "**/*.ts", "**/*.jsx", "**/*.tsx"]
 | 
				
			||||||
}
 | 
					};
 | 
				
			||||||
@ -1,5 +1,6 @@
 | 
				
			|||||||
/** @type {import('tailwindcss').Config} */
 | 
					import type { Config } from "tailwindcss";
 | 
				
			||||||
module.exports = {
 | 
					
 | 
				
			||||||
 | 
					export default {
 | 
				
			||||||
  darkMode: "class",
 | 
					  darkMode: "class",
 | 
				
			||||||
  corePlugins: {
 | 
					  corePlugins: {
 | 
				
			||||||
    preflight: false
 | 
					    preflight: false
 | 
				
			||||||
@ -15,4 +16,4 @@ module.exports = {
 | 
				
			|||||||
      }
 | 
					      }
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
};
 | 
					} satisfies Config;
 | 
				
			||||||
							
								
								
									
										210
									
								
								types/global-components.d.ts
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										210
									
								
								types/global-components.d.ts
									
									
									
									
										vendored
									
									
								
							@ -3,10 +3,10 @@ declare module "vue" {
 | 
				
			|||||||
   * 自定义全局组件获得 Volar 提示(自定义的全局组件需要在这里声明下才能获得 Volar 类型提示哦)
 | 
					   * 自定义全局组件获得 Volar 提示(自定义的全局组件需要在这里声明下才能获得 Volar 类型提示哦)
 | 
				
			||||||
   */
 | 
					   */
 | 
				
			||||||
  export interface GlobalComponents {
 | 
					  export interface GlobalComponents {
 | 
				
			||||||
    IconifyIconOffline: typeof import("../src/components/ReIcon")["IconifyIconOffline"];
 | 
					    IconifyIconOffline: (typeof import("../src/components/ReIcon"))["IconifyIconOffline"];
 | 
				
			||||||
    IconifyIconOnline: typeof import("../src/components/ReIcon")["IconifyIconOnline"];
 | 
					    IconifyIconOnline: (typeof import("../src/components/ReIcon"))["IconifyIconOnline"];
 | 
				
			||||||
    FontIcon: typeof import("../src/components/ReIcon")["FontIcon"];
 | 
					    FontIcon: (typeof import("../src/components/ReIcon"))["FontIcon"];
 | 
				
			||||||
    Auth: typeof import("../src/components/ReAuth")["Auth"];
 | 
					    Auth: (typeof import("../src/components/ReAuth"))["Auth"];
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -16,108 +16,112 @@ declare module "vue" {
 | 
				
			|||||||
 */
 | 
					 */
 | 
				
			||||||
declare module "vue" {
 | 
					declare module "vue" {
 | 
				
			||||||
  export interface GlobalComponents {
 | 
					  export interface GlobalComponents {
 | 
				
			||||||
    ElAffix: typeof import("element-plus")["ElAffix"];
 | 
					    ElAffix: (typeof import("element-plus"))["ElAffix"];
 | 
				
			||||||
    ElAlert: typeof import("element-plus")["ElAlert"];
 | 
					    ElAlert: (typeof import("element-plus"))["ElAlert"];
 | 
				
			||||||
    ElAside: typeof import("element-plus")["ElAside"];
 | 
					    ElAside: (typeof import("element-plus"))["ElAside"];
 | 
				
			||||||
    ElAutocomplete: typeof import("element-plus")["ElAutocomplete"];
 | 
					    ElAutocomplete: (typeof import("element-plus"))["ElAutocomplete"];
 | 
				
			||||||
    ElAvatar: typeof import("element-plus")["ElAvatar"];
 | 
					    ElAvatar: (typeof import("element-plus"))["ElAvatar"];
 | 
				
			||||||
    ElBacktop: typeof import("element-plus")["ElBacktop"];
 | 
					    ElBacktop: (typeof import("element-plus"))["ElBacktop"];
 | 
				
			||||||
    ElBadge: typeof import("element-plus")["ElBadge"];
 | 
					    ElBadge: (typeof import("element-plus"))["ElBadge"];
 | 
				
			||||||
    ElBreadcrumb: typeof import("element-plus")["ElBreadcrumb"];
 | 
					    ElBreadcrumb: (typeof import("element-plus"))["ElBreadcrumb"];
 | 
				
			||||||
    ElBreadcrumbItem: typeof import("element-plus")["ElBreadcrumbItem"];
 | 
					    ElBreadcrumbItem: (typeof import("element-plus"))["ElBreadcrumbItem"];
 | 
				
			||||||
    ElButton: typeof import("element-plus")["ElButton"];
 | 
					    ElButton: (typeof import("element-plus"))["ElButton"];
 | 
				
			||||||
    ElButtonGroup: typeof import("element-plus")["ElButtonGroup"];
 | 
					    ElButtonGroup: (typeof import("element-plus"))["ElButtonGroup"];
 | 
				
			||||||
    ElCalendar: typeof import("element-plus")["ElCalendar"];
 | 
					    ElCalendar: (typeof import("element-plus"))["ElCalendar"];
 | 
				
			||||||
    ElCard: typeof import("element-plus")["ElCard"];
 | 
					    ElCard: (typeof import("element-plus"))["ElCard"];
 | 
				
			||||||
    ElCarousel: typeof import("element-plus")["ElCarousel"];
 | 
					    ElCarousel: (typeof import("element-plus"))["ElCarousel"];
 | 
				
			||||||
    ElCarouselItem: typeof import("element-plus")["ElCarouselItem"];
 | 
					    ElCarouselItem: (typeof import("element-plus"))["ElCarouselItem"];
 | 
				
			||||||
    ElCascader: typeof import("element-plus")["ElCascader"];
 | 
					    ElCascader: (typeof import("element-plus"))["ElCascader"];
 | 
				
			||||||
    ElCascaderPanel: typeof import("element-plus")["ElCascaderPanel"];
 | 
					    ElCascaderPanel: (typeof import("element-plus"))["ElCascaderPanel"];
 | 
				
			||||||
    ElCheckbox: typeof import("element-plus")["ElCheckbox"];
 | 
					    ElCheckbox: (typeof import("element-plus"))["ElCheckbox"];
 | 
				
			||||||
    ElCheckboxButton: typeof import("element-plus")["ElCheckboxButton"];
 | 
					    ElCheckboxButton: (typeof import("element-plus"))["ElCheckboxButton"];
 | 
				
			||||||
    ElCheckboxGroup: typeof import("element-plus")["ElCheckboxGroup"];
 | 
					    ElCheckboxGroup: (typeof import("element-plus"))["ElCheckboxGroup"];
 | 
				
			||||||
    ElCol: typeof import("element-plus")["ElCol"];
 | 
					    ElCol: (typeof import("element-plus"))["ElCol"];
 | 
				
			||||||
    ElCollapse: typeof import("element-plus")["ElCollapse"];
 | 
					    ElCollapse: (typeof import("element-plus"))["ElCollapse"];
 | 
				
			||||||
    ElCollapseItem: typeof import("element-plus")["ElCollapseItem"];
 | 
					    ElCollapseItem: (typeof import("element-plus"))["ElCollapseItem"];
 | 
				
			||||||
    ElCollapseTransition: typeof import("element-plus")["ElCollapseTransition"];
 | 
					    ElCollapseTransition: (typeof import("element-plus"))["ElCollapseTransition"];
 | 
				
			||||||
    ElColorPicker: typeof import("element-plus")["ElColorPicker"];
 | 
					    ElColorPicker: (typeof import("element-plus"))["ElColorPicker"];
 | 
				
			||||||
    ElContainer: typeof import("element-plus")["ElContainer"];
 | 
					    ElContainer: (typeof import("element-plus"))["ElContainer"];
 | 
				
			||||||
    ElConfigProvider: typeof import("element-plus")["ElConfigProvider"];
 | 
					    ElConfigProvider: (typeof import("element-plus"))["ElConfigProvider"];
 | 
				
			||||||
    ElDatePicker: typeof import("element-plus")["ElDatePicker"];
 | 
					    ElDatePicker: (typeof import("element-plus"))["ElDatePicker"];
 | 
				
			||||||
    ElDialog: typeof import("element-plus")["ElDialog"];
 | 
					    ElDialog: (typeof import("element-plus"))["ElDialog"];
 | 
				
			||||||
    ElDivider: typeof import("element-plus")["ElDivider"];
 | 
					    ElDivider: (typeof import("element-plus"))["ElDivider"];
 | 
				
			||||||
    ElDrawer: typeof import("element-plus")["ElDrawer"];
 | 
					    ElDrawer: (typeof import("element-plus"))["ElDrawer"];
 | 
				
			||||||
    ElDropdown: typeof import("element-plus")["ElDropdown"];
 | 
					    ElDropdown: (typeof import("element-plus"))["ElDropdown"];
 | 
				
			||||||
    ElDropdownItem: typeof import("element-plus")["ElDropdownItem"];
 | 
					    ElDropdownItem: (typeof import("element-plus"))["ElDropdownItem"];
 | 
				
			||||||
    ElDropdownMenu: typeof import("element-plus")["ElDropdownMenu"];
 | 
					    ElDropdownMenu: (typeof import("element-plus"))["ElDropdownMenu"];
 | 
				
			||||||
    ElEmpty: typeof import("element-plus")["ElEmpty"];
 | 
					    ElEmpty: (typeof import("element-plus"))["ElEmpty"];
 | 
				
			||||||
    ElFooter: typeof import("element-plus")["ElFooter"];
 | 
					    ElFooter: (typeof import("element-plus"))["ElFooter"];
 | 
				
			||||||
    ElForm: typeof import("element-plus")["ElForm"];
 | 
					    ElForm: (typeof import("element-plus"))["ElForm"];
 | 
				
			||||||
    ElFormItem: typeof import("element-plus")["ElFormItem"];
 | 
					    ElFormItem: (typeof import("element-plus"))["ElFormItem"];
 | 
				
			||||||
    ElHeader: typeof import("element-plus")["ElHeader"];
 | 
					    ElHeader: (typeof import("element-plus"))["ElHeader"];
 | 
				
			||||||
    ElIcon: typeof import("element-plus")["ElIcon"];
 | 
					    ElIcon: (typeof import("element-plus"))["ElIcon"];
 | 
				
			||||||
    ElImage: typeof import("element-plus")["ElImage"];
 | 
					    ElImage: (typeof import("element-plus"))["ElImage"];
 | 
				
			||||||
    ElImageViewer: typeof import("element-plus")["ElImageViewer"];
 | 
					    ElImageViewer: (typeof import("element-plus"))["ElImageViewer"];
 | 
				
			||||||
    ElInput: typeof import("element-plus")["ElInput"];
 | 
					    ElInput: (typeof import("element-plus"))["ElInput"];
 | 
				
			||||||
    ElInputNumber: typeof import("element-plus")["ElInputNumber"];
 | 
					    ElInputNumber: (typeof import("element-plus"))["ElInputNumber"];
 | 
				
			||||||
    ElLink: typeof import("element-plus")["ElLink"];
 | 
					    ElLink: (typeof import("element-plus"))["ElLink"];
 | 
				
			||||||
    ElMain: typeof import("element-plus")["ElMain"];
 | 
					    ElMain: (typeof import("element-plus"))["ElMain"];
 | 
				
			||||||
    ElMenu: typeof import("element-plus")["ElMenu"];
 | 
					    ElMenu: (typeof import("element-plus"))["ElMenu"];
 | 
				
			||||||
    ElMenuItem: typeof import("element-plus")["ElMenuItem"];
 | 
					    ElMenuItem: (typeof import("element-plus"))["ElMenuItem"];
 | 
				
			||||||
    ElMenuItemGroup: typeof import("element-plus")["ElMenuItemGroup"];
 | 
					    ElMenuItemGroup: (typeof import("element-plus"))["ElMenuItemGroup"];
 | 
				
			||||||
    ElOption: typeof import("element-plus")["ElOption"];
 | 
					    ElOption: (typeof import("element-plus"))["ElOption"];
 | 
				
			||||||
    ElOptionGroup: typeof import("element-plus")["ElOptionGroup"];
 | 
					    ElOptionGroup: (typeof import("element-plus"))["ElOptionGroup"];
 | 
				
			||||||
    ElPageHeader: typeof import("element-plus")["ElPageHeader"];
 | 
					    ElPageHeader: (typeof import("element-plus"))["ElPageHeader"];
 | 
				
			||||||
    ElPagination: typeof import("element-plus")["ElPagination"];
 | 
					    ElPagination: (typeof import("element-plus"))["ElPagination"];
 | 
				
			||||||
    ElPopconfirm: typeof import("element-plus")["ElPopconfirm"];
 | 
					    ElPopconfirm: (typeof import("element-plus"))["ElPopconfirm"];
 | 
				
			||||||
    ElPopper: typeof import("element-plus")["ElPopper"];
 | 
					    ElPopper: (typeof import("element-plus"))["ElPopper"];
 | 
				
			||||||
    ElPopover: typeof import("element-plus")["ElPopover"];
 | 
					    ElPopover: (typeof import("element-plus"))["ElPopover"];
 | 
				
			||||||
    ElProgress: typeof import("element-plus")["ElProgress"];
 | 
					    ElProgress: (typeof import("element-plus"))["ElProgress"];
 | 
				
			||||||
    ElRadio: typeof import("element-plus")["ElRadio"];
 | 
					    ElRadio: (typeof import("element-plus"))["ElRadio"];
 | 
				
			||||||
    ElRadioButton: typeof import("element-plus")["ElRadioButton"];
 | 
					    ElRadioButton: (typeof import("element-plus"))["ElRadioButton"];
 | 
				
			||||||
    ElRadioGroup: typeof import("element-plus")["ElRadioGroup"];
 | 
					    ElRadioGroup: (typeof import("element-plus"))["ElRadioGroup"];
 | 
				
			||||||
    ElRate: typeof import("element-plus")["ElRate"];
 | 
					    ElRate: (typeof import("element-plus"))["ElRate"];
 | 
				
			||||||
    ElRow: typeof import("element-plus")["ElRow"];
 | 
					    ElRow: (typeof import("element-plus"))["ElRow"];
 | 
				
			||||||
    ElScrollbar: typeof import("element-plus")["ElScrollbar"];
 | 
					    ElScrollbar: (typeof import("element-plus"))["ElScrollbar"];
 | 
				
			||||||
    ElSelect: typeof import("element-plus")["ElSelect"];
 | 
					    ElSelect: (typeof import("element-plus"))["ElSelect"];
 | 
				
			||||||
    ElSlider: typeof import("element-plus")["ElSlider"];
 | 
					    ElSlider: (typeof import("element-plus"))["ElSlider"];
 | 
				
			||||||
    ElStep: typeof import("element-plus")["ElStep"];
 | 
					    ElStep: (typeof import("element-plus"))["ElStep"];
 | 
				
			||||||
    ElSteps: typeof import("element-plus")["ElSteps"];
 | 
					    ElSteps: (typeof import("element-plus"))["ElSteps"];
 | 
				
			||||||
    ElSubMenu: typeof import("element-plus")["ElSubMenu"];
 | 
					    ElSubMenu: (typeof import("element-plus"))["ElSubMenu"];
 | 
				
			||||||
    ElSwitch: typeof import("element-plus")["ElSwitch"];
 | 
					    ElSwitch: (typeof import("element-plus"))["ElSwitch"];
 | 
				
			||||||
    ElTabPane: typeof import("element-plus")["ElTabPane"];
 | 
					    ElTabPane: (typeof import("element-plus"))["ElTabPane"];
 | 
				
			||||||
    ElTable: typeof import("element-plus")["ElTable"];
 | 
					    ElTable: (typeof import("element-plus"))["ElTable"];
 | 
				
			||||||
    ElTableColumn: typeof import("element-plus")["ElTableColumn"];
 | 
					    ElTableColumn: (typeof import("element-plus"))["ElTableColumn"];
 | 
				
			||||||
    ElTabs: typeof import("element-plus")["ElTabs"];
 | 
					    ElTabs: (typeof import("element-plus"))["ElTabs"];
 | 
				
			||||||
    ElTag: typeof import("element-plus")["ElTag"];
 | 
					    ElTag: (typeof import("element-plus"))["ElTag"];
 | 
				
			||||||
    ElTimePicker: typeof import("element-plus")["ElTimePicker"];
 | 
					    ElText: (typeof import("element-plus"))["ElText"];
 | 
				
			||||||
    ElTimeSelect: typeof import("element-plus")["ElTimeSelect"];
 | 
					    ElTimePicker: (typeof import("element-plus"))["ElTimePicker"];
 | 
				
			||||||
    ElTimeline: typeof import("element-plus")["ElTimeline"];
 | 
					    ElTimeSelect: (typeof import("element-plus"))["ElTimeSelect"];
 | 
				
			||||||
    ElTimelineItem: typeof import("element-plus")["ElTimelineItem"];
 | 
					    ElTimeline: (typeof import("element-plus"))["ElTimeline"];
 | 
				
			||||||
    ElTooltip: typeof import("element-plus")["ElTooltip"];
 | 
					    ElTimelineItem: (typeof import("element-plus"))["ElTimelineItem"];
 | 
				
			||||||
    ElTransfer: typeof import("element-plus")["ElTransfer"];
 | 
					    ElTooltip: (typeof import("element-plus"))["ElTooltip"];
 | 
				
			||||||
    ElTree: typeof import("element-plus")["ElTree"];
 | 
					    ElTransfer: (typeof import("element-plus"))["ElTransfer"];
 | 
				
			||||||
    ElTreeV2: typeof import("element-plus")["ElTreeV2"];
 | 
					    ElTree: (typeof import("element-plus"))["ElTree"];
 | 
				
			||||||
    ElUpload: typeof import("element-plus")["ElUpload"];
 | 
					    ElTreeV2: (typeof import("element-plus"))["ElTreeV2"];
 | 
				
			||||||
    ElSpace: typeof import("element-plus")["ElSpace"];
 | 
					    ElTreeSelect: (typeof import("element-plus"))["ElTreeSelect"];
 | 
				
			||||||
    ElSkeleton: typeof import("element-plus")["ElSkeleton"];
 | 
					    ElUpload: (typeof import("element-plus"))["ElUpload"];
 | 
				
			||||||
    ElSkeletonItem: typeof import("element-plus")["ElSkeletonItem"];
 | 
					    ElSpace: (typeof import("element-plus"))["ElSpace"];
 | 
				
			||||||
    ElCheckTag: typeof import("element-plus")["ElCheckTag"];
 | 
					    ElSkeleton: (typeof import("element-plus"))["ElSkeleton"];
 | 
				
			||||||
    ElDescriptions: typeof import("element-plus")["ElDescriptions"];
 | 
					    ElSkeletonItem: (typeof import("element-plus"))["ElSkeletonItem"];
 | 
				
			||||||
    ElDescriptionsItem: typeof import("element-plus")["ElDescriptionsItem"];
 | 
					    ElStatistic: (typeof import("element-plus"))["ElStatistic"];
 | 
				
			||||||
    ElResult: typeof import("element-plus")["ElResult"];
 | 
					    ElCheckTag: (typeof import("element-plus"))["ElCheckTag"];
 | 
				
			||||||
    ElSelectV2: typeof import("element-plus")["ElSelectV2"];
 | 
					    ElDescriptions: (typeof import("element-plus"))["ElDescriptions"];
 | 
				
			||||||
 | 
					    ElDescriptionsItem: (typeof import("element-plus"))["ElDescriptionsItem"];
 | 
				
			||||||
 | 
					    ElResult: (typeof import("element-plus"))["ElResult"];
 | 
				
			||||||
 | 
					    ElSelectV2: (typeof import("element-plus"))["ElSelectV2"];
 | 
				
			||||||
 | 
					    ElWatermark: (typeof import("element-plus"))["ElWatermark"];
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  interface ComponentCustomProperties {
 | 
					  interface ComponentCustomProperties {
 | 
				
			||||||
    $message: typeof import("element-plus")["ElMessage"];
 | 
					    $message: (typeof import("element-plus"))["ElMessage"];
 | 
				
			||||||
    $notify: typeof import("element-plus")["ElNotification"];
 | 
					    $notify: (typeof import("element-plus"))["ElNotification"];
 | 
				
			||||||
    $msgbox: typeof import("element-plus")["ElMessageBox"];
 | 
					    $msgbox: (typeof import("element-plus"))["ElMessageBox"];
 | 
				
			||||||
    $messageBox: typeof import("element-plus")["ElMessageBox"];
 | 
					    $messageBox: (typeof import("element-plus"))["ElMessageBox"];
 | 
				
			||||||
    $alert: typeof import("element-plus")["ElMessageBox"]["alert"];
 | 
					    $alert: (typeof import("element-plus"))["ElMessageBox"]["alert"];
 | 
				
			||||||
    $confirm: typeof import("element-plus")["ElMessageBox"]["confirm"];
 | 
					    $confirm: (typeof import("element-plus"))["ElMessageBox"]["confirm"];
 | 
				
			||||||
    $prompt: typeof import("element-plus")["ElMessageBox"]["prompt"];
 | 
					    $prompt: (typeof import("element-plus"))["ElMessageBox"]["prompt"];
 | 
				
			||||||
    $loading: typeof import("element-plus")["ElLoadingService"];
 | 
					    $loading: (typeof import("element-plus"))["ElLoadingService"];
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
@ -37,13 +37,15 @@ export default ({ command, mode }: ConfigEnv): UserConfigExport => {
 | 
				
			|||||||
    },
 | 
					    },
 | 
				
			||||||
    // 服务端渲染
 | 
					    // 服务端渲染
 | 
				
			||||||
    server: {
 | 
					    server: {
 | 
				
			||||||
      // 是否开启 https
 | 
					 | 
				
			||||||
      https: false,
 | 
					 | 
				
			||||||
      // 端口号
 | 
					      // 端口号
 | 
				
			||||||
      port: VITE_PORT,
 | 
					      port: VITE_PORT,
 | 
				
			||||||
      host: "0.0.0.0",
 | 
					      host: "0.0.0.0",
 | 
				
			||||||
      // 本地跨域代理 https://cn.vitejs.dev/config/server-options.html#server-proxy
 | 
					      // 本地跨域代理 https://cn.vitejs.dev/config/server-options.html#server-proxy
 | 
				
			||||||
      proxy: {}
 | 
					      proxy: {},
 | 
				
			||||||
 | 
					      // 预热文件以提前转换和缓存结果,降低启动期间的初始页面加载时长并防止转换瀑布
 | 
				
			||||||
 | 
					      warmup: {
 | 
				
			||||||
 | 
					        clientFiles: ["./index.html", "./src/{views,components}/*"]
 | 
				
			||||||
 | 
					      }
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    plugins: getPluginsList(command, VITE_CDN, VITE_COMPRESSION),
 | 
					    plugins: getPluginsList(command, VITE_CDN, VITE_COMPRESSION),
 | 
				
			||||||
    // https://cn.vitejs.dev/config/dep-optimization-options.html#dep-optimization-options
 | 
					    // https://cn.vitejs.dev/config/dep-optimization-options.html#dep-optimization-options
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user