diff --git a/README-zh_CN.md b/README-zh_CN.md index 0a41c9c..63b71ae 100644 --- a/README-zh_CN.md +++ b/README-zh_CN.md @@ -19,7 +19,7 @@ ### 项目简介 -TDesign Vue Next Starter 是一个基于 TDesign,使用 `Vue3`、`Vite2`、`Pinia`、`TypeScript` 开发,可进行个性化主题配置,旨在提供项目开箱即用的、配置式的中后台项目。 +TDesign Vue Next Starter 是一个基于 TDesign,使用 `Vue3`、`Vite`、`Pinia`、`TypeScript` 开发,可进行个性化主题配置,旨在提供项目开箱即用的、配置式的中后台项目。
在线预览 diff --git a/README.md b/README.md index 75dedab..823d502 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ English | [简体中文](./README-zh_CN.md) ### Introduction -TDesign Vue Next Starter is a TDesign-based developed with `Vue 3`, `Vite 3+`, `Pinia`, `TypeScript`. It can be customized theme configuration, and aims to provide project out-of-the-box, configuration-style middle and background projects. +TDesign Vue Next Starter is a TDesign-based developed with `Vue 3`, `Vite`, `Pinia`, `TypeScript`. It can be customized theme configuration, and aims to provide project out-of-the-box, configuration-style middle and background projects.
Live Preview
diff --git a/package.json b/package.json
index 3d44156..76d2895 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "@tencent/tdesign-vue-next-starter",
- "version": "0.7.6",
+ "version": "0.8.0",
"scripts": {
"dev:mock": "vite --open --mode mock",
"dev": "vite --open --mode development",
@@ -12,70 +12,69 @@
"lint": "eslint --ext .vue,.js,.jsx,.ts,.tsx ./ --max-warnings 0",
"lint:fix": "eslint --ext .vue,.js,jsx,.ts,.tsx ./ --max-warnings 0 --fix",
"stylelint": "stylelint src/**/*.{html,vue,sass,less}",
- "stylelint:fix": "stylelint --fix src/**/*.{html,vue,vss,sass,less}",
+ "stylelint:fix": "stylelint --fix src/**/*.{html,vue,css,sass,less}",
"prepare": "husky install",
"site:preview": "npm run build && cp -r dist _site",
"test": "echo \"no test specified,work in process\"",
"test:coverage": "echo \"no test:coverage specified,work in process\""
},
"dependencies": {
- "axios": "^1.3.4",
- "dayjs": "^1.11.7",
+ "axios": "^1.4.0",
+ "dayjs": "^1.11.9",
"echarts": "5.1.2",
"lodash": "^4.17.21",
"nprogress": "^0.2.0",
- "pinia": "^2.0.33",
+ "pinia": "^2.1.4",
"pinia-plugin-persistedstate": "^3.1.0",
- "qrcode.vue": "^3.3.4",
- "qs": "^6.11.1",
+ "qrcode.vue": "^3.4.0",
+ "qs": "^6.11.2",
"tdesign-icons-vue-next": "^0.1.11",
"tdesign-site-components": "^0.12.9",
"tdesign-theme-generator": "^1.0.5",
- "tdesign-vue-next": "^1.3.4",
+ "tdesign-vue-next": "^1.3.10",
"tvision-color": "^1.6.0",
- "vue": "^3.2.47",
+ "vue": "^3.3.4",
"vue-clipboard3": "^2.0.0",
- "vue-router": "~4.1.6"
+ "vue-router": "~4.2.3"
},
"devDependencies": {
- "@commitlint/cli": "^17.3.0",
- "@commitlint/config-conventional": "^17.3.0",
- "@types/echarts": "^4.9.16",
- "@types/lodash": "^4.14.191",
+ "@commitlint/cli": "^17.6.6",
+ "@commitlint/config-conventional": "^17.6.6",
+ "@types/echarts": "^4.9.18",
+ "@types/lodash": "^4.14.195",
"@types/nprogress": "^0.2.0",
"@types/qs": "^6.9.7",
- "@typescript-eslint/eslint-plugin": "^5.47.1",
- "@typescript-eslint/parser": "^5.47.1",
- "@vitejs/plugin-vue": "^3.2.0",
- "@vitejs/plugin-vue-jsx": "^1.3.10",
- "@vue/compiler-sfc": "^3.2.47",
- "@vue/eslint-config-typescript": "^11.0.2",
- "commitizen": "^4.2.4",
+ "@typescript-eslint/eslint-plugin": "^5.61.0",
+ "@typescript-eslint/parser": "^5.61.0",
+ "@vitejs/plugin-vue": "^4.2.3",
+ "@vitejs/plugin-vue-jsx": "^3.0.1",
+ "@vue/compiler-sfc": "^3.3.4",
+ "@vue/eslint-config-typescript": "^11.0.3",
+ "commitizen": "^4.3.0",
"cz-conventional-changelog": "^3.3.0",
- "eslint": "^8.30.0",
+ "eslint": "^8.44.0",
"eslint-config-airbnb-base": "^15.0.0",
- "eslint-config-prettier": "^8.5.0",
- "eslint-plugin-import": "^2.26.0",
+ "eslint-config-prettier": "^8.8.0",
+ "eslint-plugin-import": "^2.27.5",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-simple-import-sort": "^10.0.0",
- "eslint-plugin-vue": "^9.8.0",
- "eslint-plugin-vue-scoped-css": "^2.2.0",
- "husky": "^8.0.2",
+ "eslint-plugin-vue": "^9.15.1",
+ "eslint-plugin-vue-scoped-css": "^2.5.0",
+ "husky": "^8.0.3",
"less": "^4.1.3",
- "lint-staged": "^13.1.0",
+ "lint-staged": "^13.2.3",
"mockjs": "^1.1.0",
"postcss-html": "^1.5.0",
"postcss-less": "^6.0.0",
- "prettier": "^2.8.1",
- "stylelint": "~14.9.1",
- "stylelint-config-prettier": "~9.0.4",
- "stylelint-less": "1.0.6",
- "stylelint-order": "~6.0.1",
- "typescript": "~4.9.5",
- "vite": "^3.2.5",
- "vite-plugin-mock": "^2.9.6",
+ "prettier": "^2.8.8",
+ "stylelint": "~15.10.0",
+ "stylelint-config-standard": "^34.0.0",
+ "stylelint-order": "~6.0.3",
+ "typescript": "~5.1.6",
+ "vite": "^4.3.9",
+ "vite-plugin-mock": "^3.0.0",
"vite-svg-loader": "^4.0.0",
- "vue-tsc": "^1.2.0"
+ "vue-tsc": "^1.8.4"
},
"config": {
"commitizen": {
@@ -87,7 +86,7 @@
"prettier --write",
"npm run lint:fix"
],
- "*.{html,vue,vss,sass,less}": [
+ "*.{html,vue,css,sass,less}": [
"npm run stylelint:fix"
]
}
diff --git a/src/layouts/components/Content.vue b/src/layouts/components/Content.vue
index 4d4780c..069f282 100644
--- a/src/layouts/components/Content.vue
+++ b/src/layouts/components/Content.vue
@@ -1,6 +1,6 @@