# cinema_qfv **Repository Path**: bggl1/cinema_qfv ## Basic Information - **Project Name**: cinema_qfv - **Description**: VUE cinema - **Primary Language**: JavaScript - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2019-12-13 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## Build Setup--Enviroment ``` bash # install dependencies npm install cnpm install #Router Npm install vue-router -s //安装路由js依赖 Npm install //加载依赖 #Axios npm install --save axios vue-axios npm install ======main.js中===== import axious from 'axios' import VueAxios from 'vue-axios' Vue.use(VueAxios,axious) ==================== # 主要跨域问题 #Element-UI 依赖 npm i element-ui -S # serve with hot reload at localhost:8080 npm run dev cnpm run dev # build for production with minification npm run build # build for production and view the bundle analyzer report npm run build --report ``` # 说明 ### 一、组件的命名规则 * 组件名 的命名方式:驼峰命名 * 组件定义后需分类,并放置到对应的文件夹下 ### 二、路由的命名规则 * 每次写完路由的path后,需要加上注释 * 无特殊情况路由,路由一致写在router/index.js中 ### 三、关于git代码管理 * 每次push需注意 * 1>保证代码已经commit到本地仓库 * 2>完成步骤1>后,pull代码 * 如有冲突,Merage代码 * 每次commit的信息,不要随便写 * 写出修改的内容 * commit的信息写到src/remarks中自己的上传日志 * 基础要求(commit提交时间+修改内容)