# cah-admin **Repository Path**: cartlon/cah-admin ## Basic Information - **Project Name**: cah-admin - **Description**: ant-design vue 前端页面框架 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-03-24 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # sp-admin ## Project setup ``` npm install ``` ### Compiles and hot-reloads for development ``` npm run serve ``` ### Compiles and minifies for production ``` npm run build ``` ### Lints and fixes files ``` npm run lint ``` ### Customize configuration See [Configuration Reference](https://cli.vuejs.org/config/). 1. 安装 vue js $ npm install -g @vue/cli # OR $ yarn global add @vue/cli 2.安装 ant design vue 页面布局 $ npm i --save ant-design-vue 3. 安装 vue-router 路由跳转 npm i --save install vue-router 4. 安装vue-axios 请求接口 npm -i install --save axios vue-axios 5. 安装 vuex npm -i install --save vuex 6. 安装vue-ls npm -i install --save vue-ls 7. 安装 vuex yarn add less less-loader --dev npm install svgo svgo-loader --save-dev 菜单数据格式: { id: '1', title: '首页', }, { id: 'a', title: '测试', children: [{ id: 'a.1', title: '测试2级菜单', children: [{ id: 'a.1.1', title: '测试3级菜单测试3级菜单' }], }, ], }, { id: 'b', title: '用户管理', children: [{ id: 'b.1', title: '测试2级菜单', children: [{ id: 'b.1.1', title: '测试3级菜单测试3级菜单' }], }, ], }