A Vue.js project
# 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 e2e tests
npm run e2e
# run all tests
npm test
相关文档
vue-router文档 https://router.vuejs.org/zh-cn/
ElementUi http://element-cn.eleme.io/#/zh-CN
axiox中文使用文档 https://www.kancloud.cn/yunye/axios/234845
moment中文文档 http://momentjs.cn/docs/
For a detailed explanation on how things work, check out the guide and docs for vue-loader.
项目结构
main.js(入口文件)
config.js(全局配置文件)
App.vue(项目根组件)
views(项目界面)
loginRegister(登录注册界面)
main(主页面)
changePassword(修改密码)
utils(公共函数和方法)
style(样式文件)
store(vuex文件夹)
services(服务封装)
router(路由配置)
components(公共组件)
asset(图片、图标等)