Error: Module parse failed: Unexpected character '�' (1:1) You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file.
Opened this issue · 2 comments
df257 commented
df257 commented
还有import的时候,会有个语法检测错误,需要加个//@ts-ignore
pool611 commented
vue-cli中在chainWebpack中配置loader
config.module
.rule('svga')
.text(/.svga$/)
.use('svga-loader')
.loader('svga-loader')
.end()