diff --git a/package.json b/package.json index fd88b0c..8609d55 100644 --- a/package.json +++ b/package.json @@ -29,12 +29,12 @@ "dependencies": { "@iconify/iconify": "^3.1.1", "@iconify/vue": "^4.1.1", - "@vueuse/core": "^10.7.0", + "@vueuse/core": "^10.7.1", "@wangeditor/editor": "^5.1.23", "@wangeditor/editor-for-vue": "^5.1.10", "@zxcvbn-ts/core": "^3.0.4", "animate.css": "^4.1.1", - "axios": "^1.6.2", + "axios": "^1.6.3", "cropperjs": "^1.6.1", "dayjs": "^1.11.10", "driver.js": "^1.3.1", @@ -49,8 +49,8 @@ "qrcode": "^1.5.3", "qs": "^6.11.2", "url": "^0.11.3", - "vue": "3.3.13", - "vue-draggable-plus": "^0.3.2", + "vue": "3.4.3", + "vue-draggable-plus": "^0.3.4", "vue-i18n": "9.8.0", "vue-json-pretty": "^2.3.0", "vue-router": "^4.2.5", @@ -60,30 +60,30 @@ "devDependencies": { "@commitlint/cli": "^18.4.3", "@commitlint/config-conventional": "^18.4.3", - "@iconify/json": "^2.2.160", + "@iconify/json": "^2.2.164", "@intlify/unplugin-vue-i18n": "^2.0.0", "@types/fs-extra": "^11.0.4", "@types/inquirer": "^9.0.7", "@types/lodash-es": "^4.17.12", "@types/mockjs": "^1.0.10", - "@types/node": "^20.10.5", + "@types/node": "^20.10.6", "@types/nprogress": "^0.2.3", "@types/qrcode": "^1.5.5", - "@types/qs": "^6.9.10", + "@types/qs": "^6.9.11", "@types/sortablejs": "^1.15.7", - "@typescript-eslint/eslint-plugin": "^6.15.0", - "@typescript-eslint/parser": "^6.15.0", - "@unocss/transformer-variant-group": "^0.58.0", + "@typescript-eslint/eslint-plugin": "^6.17.0", + "@typescript-eslint/parser": "^6.17.0", + "@unocss/transformer-variant-group": "^0.58.3", "@vitejs/plugin-legacy": "^5.2.0", - "@vitejs/plugin-vue": "^4.5.2", + "@vitejs/plugin-vue": "^5.0.2", "@vitejs/plugin-vue-jsx": "^3.1.0", "autoprefixer": "^10.4.16", "chalk": "^5.3.0", "consola": "^3.2.3", "eslint": "^8.56.0", "eslint-config-prettier": "^9.1.0", - "eslint-define-config": "^2.0.0", - "eslint-plugin-prettier": "^5.1.0", + "eslint-define-config": "^2.1.0", + "eslint-plugin-prettier": "^5.1.2", "eslint-plugin-vue": "^9.19.2", "esno": "^4.0.0", "fs-extra": "^11.2.0", @@ -92,31 +92,31 @@ "less": "^4.2.0", "lint-staged": "^15.2.0", "mockjs": "^1.1.0", - "plop": "^4.0.0", + "plop": "^4.0.1", "postcss": "^8.4.32", "postcss-html": "^1.5.0", "postcss-less": "^6.0.0", "prettier": "^3.1.1", "rimraf": "^5.0.5", - "rollup": "^4.9.1", - "rollup-plugin-visualizer": "^5.11.0", - "stylelint": "^16.0.2", + "rollup": "^4.9.2", + "rollup-plugin-visualizer": "^5.12.0", + "stylelint": "^16.1.0", "stylelint-config-html": "^1.1.0", "stylelint-config-recommended": "^14.0.0", - "stylelint-config-standard": "^35.0.0", + "stylelint-config-standard": "^36.0.0", "stylelint-order": "^6.0.4", "terser": "^5.26.0", "typescript": "5.3.3", - "unocss": "^0.58.0", + "unocss": "^0.58.3", "vite": "5.0.10", "vite-plugin-ejs": "^1.7.0", "vite-plugin-eslint": "^1.8.1", - "vite-plugin-mock": "^2.9.6", + "vite-plugin-mock": "2.9.6", "vite-plugin-progress": "^0.0.7", "vite-plugin-purge-icons": "^0.10.0", "vite-plugin-style-import": "2.0.0", "vite-plugin-svg-icons": "^2.0.1", - "vue-tsc": "^1.8.25" + "vue-tsc": "^1.8.27" }, "packageManager": "pnpm@8.1.0", "engines": { diff --git a/src/main.ts b/src/main.ts index 1142cdd..d0f08af 100644 --- a/src/main.ts +++ b/src/main.ts @@ -1,3 +1,5 @@ +import 'vue/jsx' + // 引入windi css import '@/plugins/unocss' diff --git a/tsconfig.json b/tsconfig.json index a53c906..fe67772 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -9,6 +9,7 @@ "sourceMap": true, "resolveJsonModule": true, "esModuleInterop": true, + "jsxImportSource": "vue", "lib": ["esnext", "dom"], "baseUrl": "./", "allowJs": true,