# vue-bzb **Repository Path**: zxhuan/vue-bzb ## Basic Information - **Project Name**: vue-bzb - **Description**: vue 自定义组件 - **Primary Language**: JavaScript - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2018-03-23 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: vue-extensions **Tags**: None ## README # vue-bzb > bzb项目 ## Build Setup ``` bash # install dependencies npm install # serve with hot reload at localhost:8080 npm run dev # build for production with minification npm run build # build for production and view the bundle analyzer report npm run build --report # run unit tests npm run unit # run all tests npm test ``` ## 项目目录说明 ``` bash src --ajax -axios.config.js[axios的配置] -index.js [axios方法封装 Post,Get,upLoadFile,All] ---assets ---img [图片] ---sass [sass] ---components [公共组件] ---directive [指令] ---filter [过滤器] ---i18n [国际化] ---mock [静态数据] -dataURL.js [后端API] -defalut.js [定义一些公共常量] -sidebar.js [侧边栏路由数据] ---page [页面] ---providers ---form -index.js [表单重置,校验,获取手机、邮箱验证码] ---sidebar -index.js [请求侧边栏数据的方法] -auth.js [用户信息校验的一些函数库] -date.js [时间格式化] -flexible.js [移动端适配方案] -Func.js [js的公共函数库] -index.js [导出,暴露对象与方法] -rules.js [表单校验的规则] ---router [vue-router] -index.js [vue 路由导航守卫] -routes.js [路由文件] ---services [前端请求API的方法] ---asset ---c2c ---coins ---home ---login ---msg ---user -index.js ---store [vuex] -actions.js [Action 提交的是 mutation] -getters.js [访问vuex state的入口] -mutation-types.js [定义常量] -index.js [state,vuex的入口] -mutations.js [更改 Vuex 的 store 中的状态的唯一方法是提交 mutation。] APP.vue main.js ``` For a detailed explanation on how things work, check out the [guide](http://vuejs-templates.github.io/webpack/) and [docs for vue-loader](http://vuejs.github.io/vue-loader).