1 Star 0 Fork 1

qiufuli / kzzp_wx

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

kzzp_wx1

Project setup

npm install

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

Customize configuration

See Configuration Reference.

# 项目内容

采用vant作为前端组件库

rem适配

postcss-pxtorem vant官方推荐

是一款 postcss 插件,用于将单位转化为 rem

npm i postcss-pxtorem -D 这个是开发依赖

lib-flexible vant官方推荐

用于设置 rem 基准值

npm i lib-flexible -S 这个是项目依赖
// main.js
import 'lib-flexible'

autoprefixer

是css兼容添加前缀

 'autoprefixer': {
        browsers: ['Android >= 4.0', 'iOS >= 7']
  },
  // 新版的postcss是
  'autoprefixer': {
       overrideBrowserslist: ['Android >= 4.0', 'iOS >= 7']
  }

postcss.config.js

module.exports = {
  plugins: {
    'autoprefixer': {
      overrideBrowserslist: ['Android >= 4.0', 'iOS >= 7']
    },
    'postcss-pxtorem': {
      rootValue:36.0,
      propList: ['*']
    }
  }
}

空文件

简介

空中招聘平台 个人微信端 展开 收起
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
1
https://gitee.com/qiufuli/kzzp_wx.git
git@gitee.com:qiufuli/kzzp_wx.git
qiufuli
kzzp_wx
kzzp_wx
master

搜索帮助