通用侧边栏导航问题
来源:4-11 通用侧边导航开发
weixin_精慕门2117621
2019-01-23
按视频敲加上这句
就变成这个样子
Html Webpack Plugin:
Error: Child compilation failed:
Module not found: Error: Cannot resolve ‘file’ or ‘directory’ ./layout/nav-sid e.html in C:\Users\Administrator\Desktop\dianshang\doc\mmall-fe\src\view:
Error: Cannot resolve ‘file’ or ‘directory’ ./layout/nav-side.html in C:\Users \Administrator\Desktop\dianshang\doc\mmall-fe\src\view
-
compiler.js:79 childCompiler.runAsChild
[mmall-fe]/[html-webpack-plugin]/lib/compiler.js:79:16 -
Compiler.js:214 Compiler.
[mmall-fe]/[webpack]/lib/Compiler.js:214:10 -
Compiler.js:403
[mmall-fe]/[webpack]/lib/Compiler.js:403:12 -
Tapable.js:67 Compiler.next
[mmall-fe]/[tapable]/lib/Tapable.js:67:11 -
CachePlugin.js:40 Compiler.
[mmall-fe]/[webpack]/lib/CachePlugin.js:40:4 -
Tapable.js:71 Compiler.applyPluginsAsync
[mmall-fe]/[tapable]/lib/Tapable.js:71:13 -
Compiler.js:400 Compiler.
[mmall-fe]/[webpack]/lib/Compiler.js:400:9 -
Compilation.js:577 Compilation.
[mmall-fe]/[webpack]/lib/Compilation.js:577:13 -
Tapable.js:60 Compilation.applyPluginsAsync
[mmall-fe]/[tapable]/lib/Tapable.js:60:69 -
Compilation.js:572 Compilation.
[mmall-fe]/[webpack]/lib/Compilation.js:572:10
1回答
-
Rosen
2019-01-23
检查下路径名是不是完全对的上,一般是这问题
00
相似问题