项目在本地启动时报Error: No PostCSS Config…
在项目根目录下新建postcss.config.js文件,并对postcss进行配置:
module.exports = {
plugins: {
'autoprefixer': {browsers: 'last 5 version'}
}
}
OK 重新执行 成功了!
想知道具体原因可以去官网详细了解一下 PostCSS
项目在本地启动时报Error: No PostCSS Config…
在项目根目录下新建postcss.config.js文件,并对postcss进行配置:
module.exports = {
plugins: {
'autoprefixer': {browsers: 'last 5 version'}
}
}
OK 重新执行 成功了!
想知道具体原因可以去官网详细了解一下 PostCSS