課程
/前端開發
/前端工具
/webpack深入與實戰
dist/index.html文件里面不能顯示模板里面的內容
2018-03-12
源自:webpack深入與實戰 3-1
正在回答
temlplate? 拼錯了,沒生效
A回不去的曾經 提問者
plugins: [
new HtmlWebpackPlugin({
// 源文件模板
temlplate: 'index.html',
?title: 'hero',
filename: './index/index.html',
})
]
這樣title才顯示,但是模板里面的不顯示。為什么?
舉報
webpack實戰教程,用真實項目帶你探索 webpack 強大的功能
1 回答dist目錄下的index.html 與 根目錄下 的 index.html 的聯系
5 回答index.html 用模板寫法 說申明的 HtmlWebpackPlugin 找到不到
1 回答?index.html
1 回答 Entrypoint undefined = index.html
1 回答Entrypoint undefined = index.html
Copyright ? 2025 imooc.com All Rights Reserved | 京ICP備12003892號-11 京公網安備11010802030151號
購課補貼聯系客服咨詢優惠詳情
慕課網APP您的移動學習伙伴
掃描二維碼關注慕課網微信公眾號
2018-03-12
temlplate? 拼錯了,沒生效
2018-03-12
plugins: [
new HtmlWebpackPlugin({
// 源文件模板
temlplate: 'index.html',
?title: 'hero',
filename: './index/index.html',
})
]
這樣title才顯示,但是模板里面的不顯示。為什么?