'完成登录注册页面'

This commit is contained in:
2024-04-22 01:28:01 +08:00
parent 0c1f0e1a60
commit b74467e2bd
86 changed files with 29919 additions and 36 deletions

View File

@@ -57,6 +57,17 @@ export default defineConfig(({ mode, command }) => {
},
plugins: [
vue(),
AutoImport({
//安装两行后你会发现在组件中不用再导入refreactive等
imports: ['vue', 'vue-router','@vueuse/core','pinia'],
dts: 'auto-import.d.ts',
//ant-design-vue
resolvers: [AntDesignVueResolver()],
eslintrc: {
enabled: true // 1、改为true用于生成eslint配置。2、生成后改回false避免重复生成消耗
}
}),
createHtmlPlugin({
minify: true,
/**
@@ -123,22 +134,13 @@ export default defineConfig(({ mode, command }) => {
targets: ['chrome 52'], // 需要兼容的目标列表
additionalLegacyPolyfills: ['regenerator-runtime/runtime'] // 面向IE11时需要此插件
}),
AutoImport({
//安装两行后你会发现在组件中不用再导入refreactive等
imports: ['vue', 'vue-router','@vueuse/core'],
dts: 'auto-import.d.ts',
//ant-design-vue
resolvers: [AntDesignVueResolver()],
eslintrc: {
enabled: true // 1、改为true用于生成eslint配置。2、生成后改回false避免重复生成消耗
}
}),
Components({
dts: true,
// 指定自动导入的组件位置,默认是 src/components
dirs: ['src/components'],
dirs: ['src/components','src/views'],
//ant-design-vue
resolvers: [AntDesignVueResolver({ importStyle: true, resolveIcons: true })]
resolvers: [AntDesignVueResolver({ importStyle: "less", resolveIcons: true })]
})
],
optimizeDeps: {
@@ -198,4 +200,4 @@ export default defineConfig(({ mode, command }) => {
}
}
}
})
})