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

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

ERROR in ./src/app.vue 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. @ ./src/index.js 2:0-27 8:18-21 ERROR in ./src/app.vue?

我配置的時(shí)候報(bào)錯(cuò)好多?

正在回答

5 回答

vue-loader 查閱文檔發(fā)現(xiàn)v15版的vue-loader配置需要加個(gè)VueLoaderPlugin
const?VueLoaderPlugin?=require('vueloader/lib/plugin');


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

非常感謝,我也遇到同樣的問題,我重裝了vue-loader的版本15.7.0,然后按照你的方法修改之后build成功了。

0 回復(fù) 有任何疑惑可以回復(fù)我~
const?path?=?require('path');
const?VueLoaderPlugin?=require('vue-loader/lib/plugin');
module.exports?=?{???
?????entry?:?path.join(__dirname,?'src/index.js'),//__dirname?當(dāng)前文件所在的目錄地址??
?????output:?{?????
????????filename:?'bundle.js',?????
????????path:?path.join(__dirname,'dist')???
?????????},?
?????module:?{??????
???????rules:?[?]
???????},??????
?????plugins:?[?new?VueLoaderPlugin()?],
?????mode:?'development'
?}

這是我的配置,上面的問題這樣就可以解決了,還有一些rules里面的配置 ,本節(jié)課學(xué)習(xí)完就可以解決了

1 回復(fù) 有任何疑惑可以回復(fù)我~
const?VueLoaderPlugin?=?require('vue-loader/lib/plugin');
...

??plugins:?[

????new?VueLoaderPlugin(),

??],


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

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

百度一下

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

舉報(bào)

0/150
提交
取消

ERROR in ./src/app.vue 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. @ ./src/index.js 2:0-27 8:18-21 ERROR in ./src/app.vue?

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

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

幫助反饋 APP下載

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

公眾號(hào)

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