Geeks, please accept the hero post of 2021 Microsoft x Intel hacking contest>>>
Create a new postcss.config.js file in the root directory of the project, and configure the postcss. Edit the content:
module.exports = {
plugins: {
'autoprefixer': {browsers: 'last 5 version'}
}
}
Then NPM run dev runs successfully
Similar Posts:
- [Solved] Vue Syntax Error: Error: PostCSS plugin postcss-pxtorem requires PostCSS 8. -rem Layout
- npm Module build failed: Error: No PostCSS Config found in:
- Next (react) framework combined with lib-flexible, postcss-pxtorem do pc-side rem adaptation to solve the font-size is always 54px issue
- [Solved] Vue/cli install element error: Error: cannot find module ‘Babel plugin component’
- Webpack 4 : ERROR in Entry module not found: Error: Can’t resolve ‘./src’
- Windows / Android / IOS / Linux platform h265 streaming media player easyplayer.js deployment error
- Automatic version change of IntelliJ idea language level and Java compiler
- [Solved] Vue cli 3.0 error: “Failed to load resource: net::ERR_FILE_NOT_FOUND”
- [Solved] vue.config.js Error: cannot set property “preserveWhitespace” of undefined