npm run build报错 No PostCSS Config found in

在项目根目录新建postcss.config.js文件,并对postcss进行配置:

module.exports = {
    plugins: [
        require('autoprefixer')//自动添加css前缀
    ]
};

 

posted @ 2019-11-07 14:24  Redchar  阅读(446)  评论(0编辑  收藏  举报