# vant移动端适配 **Repository Path**: abc00/mobile-demo ## Basic Information - **Project Name**: vant移动端适配 - **Description**: 开箱即用的移动端vue,vant2移动端项目框架。移动端自适应框架 - **Primary Language**: JavaScript - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 2 - **Created**: 2024-01-09 - **Last Updated**: 2024-01-09 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # mobile-demo ### 项目说明 - 基于`vant2`的移动端适配方案,只需要在css里写正常的px单位即可自动适配移动端不同分辨率 - 开发过程中需要按照eslint规则(可配置快捷键),否则影响git提交 - 日期库 `dayjs` - 存储token,可以在`localstorage`或者`cookie` - `svgIcon`组件,直接在页面里使用svg图标,图标目录在 `icons` ## Project setup ``` yarn install ``` ### Compiles and hot-reloads for development ``` yarn serve ``` ### Compiles and minifies for production ``` yarn build ``` ### Run your unit tests ``` yarn test:unit ``` ### Lints and fixes files ``` yarn lint ``` ### Customize configuration See [Configuration Reference](https://cli.vuejs.org/config/).