【此錯誤解決方法】ERROR in ./src/assets/styles/test.css 1:4
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file.
引入的時候,加上【'file-loader!】和【'css-loader!】
import 'file-loader!./assets/image/kuli.jpg'
import 'css-loader!./assets/styles/test.css'
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file.
引入的時候,加上【'file-loader!】和【'css-loader!】
import 'file-loader!./assets/image/kuli.jpg'
import 'css-loader!./assets/styles/test.css'
2020-06-21
真的全是坑,學習5分鐘,踩坑兩小時。很多人都說是更新版本的問題,確實是,但是,對應學習者來說也確實坑,明明一樣的代碼,就是不行。
2020-06-21
Error: Cannot find module 'html-webpack-plugin'
npm i html-webpack-plugin一直報錯,這是什么鬼毛病
npm i html-webpack-plugin一直報錯,這是什么鬼毛病
2020-06-09
老師的課程有些地方已經陳舊了,我在學習的時候用的是現在最新的webpack版本,我的項目源碼提交到github上供大家參考
https://github.com/carrieguo/vue.js-todolist
https://github.com/carrieguo/vue.js-todolist
2020-03-19