# vueCli3.0_mock **Repository Path**: tony7/vueCli3.0_mock ## Basic Information - **Project Name**: vueCli3.0_mock - **Description**: 使用mockjs进行接口数据模拟等 - **Primary Language**: JavaScript - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2019-10-18 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 使用vant ui框架进行项目的搭建; ``` https://youzan.github.io/vant/#/zh-CN/intro ``` # 使用了vuedraggable插件 实现拖拽功能 ``` vuedraggable: https://www.npmjs.com/package/vuedraggable ``` # 多级组件嵌套($attrs/$listeners) ``` ``` # 使用mockjs进行接口数据模拟 ``` http://mockjs.com/ src/mock 中serve/index 是各种借口 及 接口数据处理; src/mock/api 中是接口的一整个模块; src/mock/index 是mock的挂载 及 一些设置等; main.js 中引入 mock就可以使用了; 接口调用在vuex的模块中进行 ``` # vue-cli3.0 ## Project setup ``` npm install ``` ### Compiles and hot-reloads for development ``` npm run serve ``` ### Compiles and minifies for production ``` npm run build ``` ### Run your tests ``` npm run test ``` ### Lints and fixes files ``` npm run lint ``` ### Customize configuration See [Configuration Reference](https://cli.vuejs.org/config/).