feat(enlish-vue): 初始化 Vue 前端项目及配置相关文件
- 新增基础 Vue 项目结构,包含 App.vue 和 HelloWorld 组件 - 配置 Vite 作为构建工具,添加 package.json 和 package-lock.json - 创建入口文件 main.js,初始化 Vue 应用并挂载 - 添加 index.html 作为项目的入口页面 - 更新 .gitignore,忽略 node_modules 和 .vscode 目录 - 添加 enlish-vue.iml 模块配置文件支持集成开发环境
This commit is contained in:
7
enlish-vue/vite.config.js
Normal file
7
enlish-vue/vite.config.js
Normal file
@@ -0,0 +1,7 @@
|
||||
import { defineConfig } from 'vite'
|
||||
import vue from '@vitejs/plugin-vue'
|
||||
|
||||
// https://vite.dev/config/
|
||||
export default defineConfig({
|
||||
plugins: [vue()],
|
||||
})
|
||||
Reference in New Issue
Block a user