mirror of
https://gitee.com/js-yhsec/energy_storage.git
synced 2026-05-27 18:59:26 +08:00
feat(web): 实现能源站监控与运行管理系统的登录功能
- 新增登录页面组件 LoginView.vue - 添加全局样式和布局调整 - 实现用户登录逻辑,包括表单验证、验证码校验和 token 存储 - 集成 ant-design-vue 组件库 - 添加请求拦截器和错误处理
This commit is contained in:
@@ -43,7 +43,15 @@ module.exports = defineConfig({
|
||||
chunkFilename: `css/.[contenthash:8].chunk.css`,
|
||||
},
|
||||
},
|
||||
// webpack相关配置
|
||||
configureWebpack: {
|
||||
// 自定义打包入口
|
||||
entry: "./src/main.js",
|
||||
|
||||
// 扩展 webpack 配置
|
||||
plugins: [
|
||||
// 添加插件
|
||||
],
|
||||
resolve: {
|
||||
alias: {
|
||||
"@": path.join(__dirname, "src"),
|
||||
@@ -60,17 +68,6 @@ module.exports = defineConfig({
|
||||
// 生产环境的 source map
|
||||
productionSourceMap: true,
|
||||
|
||||
// webpack相关配置
|
||||
configureWebpack: {
|
||||
// 自定义打包入口
|
||||
entry: "./src/main.js",
|
||||
|
||||
// 扩展 webpack 配置
|
||||
plugins: [
|
||||
// 添加插件
|
||||
],
|
||||
},
|
||||
|
||||
// 第三方插件配置
|
||||
pluginOptions: {
|
||||
// ...
|
||||
|
||||
Reference in New Issue
Block a user