# vue-base **Repository Path**: cpc_public/vue-base ## Basic Information - **Project Name**: vue-base - **Description**: vue项目的基础设置 - **Primary Language**: JavaScript - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-03-29 - **Last Updated**: 2022-07-04 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # demo > A Vue.js project ## 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 e2e tests npm run e2e # run all tests npm test ``` ## 基础的功能 ``` 1.axios的结构设计,与业务层完全隔离,url统一管理,封装了get,post,put,delete,支持复杂的表达式网址 2.集成mock.js,书写mock模拟数据时候,更加清晰明了 3.多环境变量书写更加容易 ```