第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號(hào)安全,請(qǐng)及時(shí)綁定郵箱和手機(jī)立即綁定

ERROR in Template execution failed: ReferenceError: htmlPlugin is not defined這是什么原因

ERROR in Template execution failed: ReferenceError: htmlPlugin is not defined這是什么原因。模板語(yǔ)法不能用嗎? 代碼如下:

<head>

? ? <title><%= htmlPlugin.options.title %></title>

? ? <meta charset="UTF-8" />

? ? <script src="<%= htmlPlugin.files.chunks.main.entry %>"></script>

</head>

-----------------------------

plugins:[

? ?new htmlPlugin({

? ? template:"index.html",

? ? filename:"index.html",

? ? inject:"head",

? ? title:"this is a.html",

? ? chunks:["a"]

? ?}),


? ?new htmlPlugin({

? ? template:"index.html",

? ? filename:"index.html",

? ? inject:"head",

? ? title:"this is b.html",

? ? chunks:["b"]


? ?}),


? ?new htmlPlugin({

? ? template:"index.html",

? ? filename:"index.html",

? ? inject:"head",

? ? title:"this is c.html",

? ? chunks:["c"]

? ?}),


?]

<%= htmlplugin.options.title=""></%=>

正在回答

3 回答

<%= htmlWebpackPlugin.options.title %>

1 回復(fù) 有任何疑惑可以回復(fù)我~

你這個(gè)問(wèn)題解決了么,我也有同樣的問(wèn)題呢

0 回復(fù) 有任何疑惑可以回復(fù)我~
#1

qq_天空之鏡_2

改成 htmlWebpackPlugin
2018-06-11 回復(fù) 有任何疑惑可以回復(fù)我~

模板中 htmlWebpack? 改為htmlWebpackPlugin

0 回復(fù) 有任何疑惑可以回復(fù)我~

舉報(bào)

0/150
提交
取消

ERROR in Template execution failed: ReferenceError: htmlPlugin is not defined這是什么原因

我要回答 關(guān)注問(wèn)題
微信客服

購(gòu)課補(bǔ)貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動(dòng)學(xué)習(xí)伙伴

公眾號(hào)

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號(hào)