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

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

執(zhí)行npm run build報(bào)如下錯(cuò)誤,希望老師幫忙看一下

Module Error (from ./node_modules/vue-loader/lib/index.js):

vue-loader was used without the corresponding plugin. Make sure to include VueLoaderPlugin in your webpack config.


正在回答

3 回答

//?webpack配置文件?
const?path?=?require('path');
const?htmlWebpackPlugin?=?require('html-webpack-plugin');
const?VueLoaderPlugin?=?require('vue-loader/lib/plugin');?//引入這行
module.exports?=?{
????mode:'none',
????entry:'./src/main.js',
????output:{
????????path:path.join(__dirname,'./dist'),
????????filename:'bundle.js'
????},
????plugins:[
????????new?htmlWebpackPlugin({
????????????template:path.join(__dirname,'./src/index.html'),
????????????filename:'index.html'
????????}),?????????
????????new?VueLoaderPlugin()?//new一個(gè)實(shí)例
????]
}


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

歐尼桑1111

你直接把博客的答案拿過來了,有些代碼是不必要的
2019-10-15 回復(fù) 有任何疑惑可以回復(fù)我~

http://img1.sycdn.imooc.com//5da585d70001a78009420529.jpg

像這樣就好了

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

等煙雨 提問者

嗯嗯 謝謝 解決了
2019-10-16 回復(fù) 有任何疑惑可以回復(fù)我~


像這樣就好了

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

舉報(bào)

0/150
提交
取消

執(zhí)行npm run build報(bào)如下錯(cuò)誤,希望老師幫忙看一下

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

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

幫助反饋 APP下載

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

公眾號(hào)

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