feat: 初始化Vue3项目基础结构,包含路由、状态管理和UI组件库
- 添加Vue3、Pinia和Vue Router作为核心依赖 - 集成Element Plus UI组件库及图标 - 配置Vite构建工具和基础开发环境 - 创建项目基础目录结构和配置文件 - 实现AI培训系统基础页面框架和功能模块
This commit is contained in:
13
my-vue-app/vite.config.js
Normal file
13
my-vue-app/vite.config.js
Normal file
@@ -0,0 +1,13 @@
|
||||
import { defineConfig } from 'vite'
|
||||
import vue from '@vitejs/plugin-vue'
|
||||
import { resolve } from 'path'
|
||||
|
||||
// https://vite.dev/config/
|
||||
export default defineConfig({
|
||||
plugins: [vue()],
|
||||
resolve: {
|
||||
alias: {
|
||||
'@': resolve(__dirname, 'src')
|
||||
}
|
||||
}
|
||||
})
|
||||
Reference in New Issue
Block a user