![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Vue项目报错
桃井奈绪
这个作者很懒,什么都没留下…
展开
-
vue-Module parse failed: Unexpected character ‘�‘ (1:0) You may need an appropriate loader to handle
解决Vue中加载图片报错:Module parse failed: Unexpected character ‘�’ (1:0)You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See如果项目中没有webpack.config.js的话就自己创建一个,然后写入下面这些代码module.exports = {原创 2022-05-08 23:46:21 · 6228 阅读 · 2 评论 -
解决 Syntax Error: Error: PostCSS received undefined instead of CSS string
解决 Syntax Error: Error: PostCSS received undefined instead of CSS string错误如下解决方法卸载当前版本的node-sass和sass-loader,因为版本和当前的不兼容,安装对应版本的包即可。#卸载node-sas和sass-loadernpm uninstall node-sassnpm uninstall sass-loader安装其他版本#安装node-sas和sass-loadernpm install n原创 2021-05-20 21:47:50 · 32956 阅读 · 8 评论