vue3
Project setup
yarn install
Compiles and hot-reloads for development
yarn serve
Compiles and minifies for production
yarn build
Lints and fixes files
yarn lint
Customize configuration
See Configuration Reference.
开发
使用vw单位
基准宽度375,在vue.config.js中设置,比如设计图图片为375px,则代码写width:375px(开发时把蓝湖选择为IOS,也就是根据一倍像素写页面)
环境变量和base_url在.env文件设置