1.0.0 • Published 2 years ago

eciticcfc-credit v1.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

eciticcfc-credit

A Vue.js project

Build Setup

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

For detailed explanation on how things work, consult the docs for vue-loader.

Vant 中的样式默认使用px作为单位,如果需要使用rem单位,推荐使用以下两个工具:

配合 amfe-flexible 使用

PostCSS 配置

下面提供了一份基本的 postcss 配置,可以在此配置的基础上根据项目需求进行修改

// https://github.com/michael-ciniawsky/postcss-load-config
module.exports = {
  plugins: {
    autoprefixer: {
      overrideBrowserslist: ['Android 4.1', 'iOS 7.1', 'Chrome > 31', 'ff > 31', 'ie >= 8']
    },
    'postcss-pxtorem': {
      rootValue: 37.5,
      propList: ['*']
    }
  }
}