課程
/前端開發(fā)
/前端工具
/webpack深入與實(shí)戰(zhàn)
css-loader也編譯到hello.bundle.js了
2017-03-24
源自:webpack深入與實(shí)戰(zhàn) 1-2
正在回答
require('css-loader!./style.css') 把前面那個(gè)!去掉也一樣的,我試過的
require('style-loader!css-loader!./style.css')?
qq_XX_19
舉報(bào)
webpack實(shí)戰(zhàn)教程,用真實(shí)項(xiàng)目帶你探索 webpack 強(qiáng)大的功能
2 回答運(yùn)行webpack hello.js hello.bundle.js --module-bind 'css=style-loader!css-loader'
3 回答我使用webpack hello.js hello.bundle.js --module-bind 'css=style-loader!css-loader'命令會(huì)報(bào)錯(cuò)
4 回答運(yùn)行webpack hello.js hello.bundle.js --module-bind 'css=style-loader!css-loader ' 仍然出錯(cuò)。
2 回答運(yùn)行 webpack hello.js hello.bundle.js --module-bind "css=style-loader!css-loader" 出現(xiàn)下面錯(cuò)誤,有同學(xué)知道嗎?
1 回答webpack2.x里面還能require('css-loader!./style.css')這么引用嗎
Copyright ? 2025 imooc.com All Rights Reserved | 京ICP備12003892號(hào)-11 京公網(wǎng)安備11010802030151號(hào)
購課補(bǔ)貼聯(lián)系客服咨詢優(yōu)惠詳情
慕課網(wǎng)APP您的移動(dòng)學(xué)習(xí)伙伴
掃描二維碼關(guān)注慕課網(wǎng)微信公眾號(hào)
2017-03-25
require('css-loader!./style.css') 把前面那個(gè)!去掉也一樣的,我試過的
2017-03-24
require('style-loader!css-loader!./style.css')?