摘要:
问题: 在写到下面的代码时,报错:Elements in iteration expect to have ‘v-bind:key’ directives(vue/require-v-for-key) <ul> <li v-for=" item in iconsList"> <a> <img :sr 阅读全文
摘要:
一 . 安装 在命令行中执行: 使用npm或者cnpm安装 npm install animate.css --save 或 cnpm install animate.css --save 使用yarn安装 yarn add animate.css 二. 引入 在main.js全局引入 import 阅读全文
摘要:
postcss-pxtorem:转换px为rem的插件 安装 postcss-pxtorem npm install postcss-pxtorem --save 新建rem.js文件 const baseSize = 32 // 设置 rem 函数 function setRem () { // 阅读全文