Disclaimer: This article is a blogger original article, shall not be reproduced without the bloggers allowed. https://blog.csdn.net/qq_38543537/article/details/89497219
Error problem:
Error: No PostCSS Config found in: D:\project\demo\myvuelianxi\node_modules\element-ui\lib\theme-chalk
Baidu translated as follows:
Error: Can not find the following location postss configuration: d: \ project \ demo \ myvueliaxi \ node \ u modules \ element ui \ lib \ theme chalk
Clearly not find PostCSS profile
Solution:
In the root folder New postcsscrc.js, and add the following configuration:
module.exports = {
"plugins": {
"postcss-import": {},
"postcss-url": {},
// to edit target browsers: use "browserslist" field in package.json
"autoprefixer": {}
}
}
It can re-run the project