# vue_vant **Repository Path**: blcyzycc/vue_2 ## Basic Information - **Project Name**: vue_vant - **Description**: vue项目模板,使用vue-cli 2^ 搭建,并在其基础上添加实用功能: css预处理器sass rem适配,px转rem axios跨域封装 - **Primary Language**: JavaScript - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2018-07-02 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # tmp > A Vue.js project ## Build Setup UI 为 vant-ui css样式预处理器 sass css样式已做 rem 适配, 且 px单位自动转换成 rem, 比例是 100px/1rem. width: 375px; 为满屏(因为 vant-ui 375位满屏, 本来习惯 750px满屏。。。) axios跨域封装完成 get 和 post 方法, 已添加在 Vue.prototype 中, 在项目内使用: this.apiGet 和 this.apiPost ``` 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 ``` 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).