phenomenon:
执行cnpm run server
报错:
cnpm 报错 Module build failed: Error: No PostCSS Config found in:
reason:
Postcss.config. js
is missing from the configuration file
solution:
in the project root directory to create a new configuration file postcss.config.js, paste the following
module.exports = {
plugins: {
'autoprefixer': {browsers: 'last 5 version'}
}
}
div>