# vue-template **Repository Path**: rex0yy/vue-template ## Basic Information - **Project Name**: vue-template - **Description**: vue项目基础模板 2.6版本 - **Primary Language**: JavaScript - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 2 - **Created**: 2021-11-13 - **Last Updated**: 2021-11-13 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # vue-template #### 介绍 vue项目模板 ### 本地运行 ``` npm install // yarn install npm run serve // yarn serve ``` ### 打包 ``` npm run build // yarn build ``` ### 代码规范校验 ``` npm run lint // yarn lint ``` ### 项目结构 ``` bash ├── public │   ├── favicon.ico // ico 图标 │   ├── index.html // 项目入口(单入口项目的入口) ├── src // 源代码 │   ├── api // 存放项目api │   ├── assets // 静态资源 (只供src下文件使用) │   ├── components // 组件 │   ├── config // 配置 │   ├── constants // 存放常量 │   ├── libs // 项目用到的插件 │   │   └── request.js // axios封装 │   ├── mixins // 存放全局mixin │   ├── router // 路由 │   ├── store // vuex │   ├── views // 页面 │   ├── App.vue // vue根组件 │   ├── main.js // js入口文件 ├── .babelrc // babel 的编译参数 ├── .editorconfig // 编辑器代码格式配置文件 ├── .eslintignore // eslint 不用校验的文件 ├── .eslintrc.js // eslint 规则配置 ├── .gitignore // git 忽略的配置文件 ├── babel.config.js // babel的配置文件 ├── deploy.sh // 发布测试脚本 ├── package-lock.json // 当前状态下实际安装的具体来源和版本号 ├── package.json // node.js 项目的配置文件 ├── vue.config.js // vue-cli 3.0 的配置文件 ├── components // 组件 │   └── demo.vue // 组件模版 ```