# vue_m **Repository Path**: xiaoyimayun/vue_m ## Basic Information - **Project Name**: vue_m - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-09-28 - **Last Updated**: 2021-10-30 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # vue_m ### 移动端项目 安装vant ``` npm i vant -s ``` ### postcss-px-to-viewport 是一款 PostCSS 插件,用于将 px 单位转化为 vw/vh 单位 ### postcss-pxtorem 是一款 PostCSS 插件,用于将 px 单位转化为 rem 单位 ### lib-flexible 用于设置 rem 基准值 ### 先安装lib-flexible main.js 加载 import 'amfe-flexible' ``` npm i -S amfe-flexible npm i postcss-pxtorem@5.1.1 ``` ## 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/).