mirror of
https://github.com/un-pany/v3-admin-vite.git
synced 2025-04-20 10:59:21 +08:00
chore: 移除按需引入相关代码
This commit is contained in:
parent
d4f6f5b717
commit
996d6c8d53
@ -11,8 +11,6 @@ module.exports = {
|
||||
"@vue/typescript/recommended",
|
||||
"@vue/prettier",
|
||||
"@vue/eslint-config-typescript"
|
||||
// unplugin-auto-import 自动生成的文件
|
||||
// "./types/.eslintrc-auto-import.json"
|
||||
],
|
||||
parser: "vue-eslint-parser",
|
||||
parserOptions: {
|
||||
|
@ -78,23 +78,6 @@ export default (configEnv: ConfigEnv): UserConfigExport => {
|
||||
}),
|
||||
/** UnoCSS */
|
||||
UnoCSS()
|
||||
/** 自动按需引入 (已更改为完整引入,所以注释了) */
|
||||
// AutoImport({
|
||||
// dts: "./types/auto-imports.d.ts",
|
||||
// /** 自动按需导入 Element Plus 相关函数,比如 ElMessage */
|
||||
// resolvers: [ElementPlusResolver()],
|
||||
// /** 根据自动按需导入的相关 API,生成 .eslintrc-auto-import.json 文件供 Eslint 识别 */
|
||||
// eslintrc: {
|
||||
// enabled: true, // 默认 false
|
||||
// filepath: "./types/.eslintrc-auto-import.json", // 默认 "./.eslintrc-auto-import.json"
|
||||
// globalsPropValue: true // 默认 true (true | false | "readonly" | "readable" | "writable" | "writeable")
|
||||
// }
|
||||
// }),
|
||||
// Components({
|
||||
// dts: "./types/components.d.ts",
|
||||
// /** 自动按需导入 Element Plus 组件 */
|
||||
// resolvers: [ElementPlusResolver()]
|
||||
// })
|
||||
],
|
||||
/** Vitest 单元测试配置:https://cn.vitest.dev/config */
|
||||
test: {
|
||||
|
Loading…
x
Reference in New Issue
Block a user