摘要:
项目常用风格: [*.{js,jsx,ts,tsx,vue}] // 指定生效类型文件 charset=utf-8 // 编码风格选utf-8避免混乱 indent_style = space // 缩进风格为空格 indent_size = 2 // 缩进2格 trim_trailing_whit 阅读全文
posted @ 2021-07-08 18:08
不少
阅读(87)
评论(0)
推荐(0)
摘要:
对CSS进行转换适配插件的配置文件 常用的插件有 1. autoprefixer 浏览器前缀转换 2. postcss-pxtorem 移动端px转换rem适配单位 例: module.exports = { plugins: { 'autoprefixer': { browsers: ['Andr 阅读全文
posted @ 2021-07-08 17:40
不少
阅读(3830)
评论(0)
推荐(0)
摘要:
vue中用来配置babel的.babelrc配置文件语法是json的格式 { "presets": [ ["es2015", {"modules": false }], // 已作废 // env项是借助插件babel-preset-env,下面这个配置说的是babel对es6,es7,es8进行转 阅读全文
posted @ 2021-07-08 17:25
不少
阅读(2073)
评论(0)
推荐(0)

浙公网安备 33010602011771号