14:22:38.103 Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loader.js):
14:22:38.104 ModuleBuildError: Module build failed (from ./node_modules/postcss-loader/src/index.js):
14:22:38.159 Error: Failed to find '~mpvue-wxparse/src/wxParse.css'
14:22:38.160 in [
14:22:38.172 E:\projects\jiatueduminiprogram1\pages\jingxuan
14:22:38.173 ]
14:22:38.186 at resolveModule.catch.catch (D:\HBuilderX\plugins\uniapp-cli\node_modules\postcss-import\lib\resolve-id.js:35:13)
14:22:38.188 at <anonymous>
14:22:38.203 at runLoaders (D:\HBuilderX\plugins\uniapp-cli\node_modules\webpack\lib\NormalModule.js:301:20)
14:22:38.204 at D:\HBuilderX\plugins\uniapp-cli\node_modules\loader-runner\lib\LoaderRunner.js:367:11
14:22:38.219 at D:\HBuilderX\plugins\uniapp-cli\node_modules\loader-runner\lib\LoaderRunner.js:233:18
14:22:38.220 at context.callback (D:\HBuilderX\plugins\uniapp-cli\node_modules\loader-runner\lib\LoaderRunner.js:111:13)
14:22:38.235 at Promise.resolve.then.then.catch (D:\HBuilderX\plugins\uniapp-cli\node_modules\postcss-loader\src\index.js:208:9)
14:22:38.237 at <anonymous>
14:22:38.262 ERROR Build failed with errors.
我在工程中使用了mpvue-wxParse这个插件,具体是在页面文件中是这样的
<style scoped>
@import url("~mpvue-wxparse/src/wxParse.css");
最后编译,结果就报上面的错误,找不到对应的css文件,请问有没有哪位能够解决这个问题,帮忙看一下,谢谢了。
0 个回复