課程
/前端開發(fā)
/前端工具
/Vue+Webpack打造todo應(yīng)用
不知道怎么會(huì)報(bào)這個(gè)
2018-08-28
源自:Vue+Webpack打造todo應(yīng)用 2-3
正在回答
devSever拼錯(cuò)了,是devServer
Invalid configuration object. Webpack has been initialised using a configuration object that does not match the API schema.
?- configuration has an unknown property 'devSever'. These properties are valid:
? ?object { mode?, amd?, bail?, cache?, context?, dependencies?, devServer?, devtool?, entry?, externals?, loader?, module?, name?, node?, output?, optimization?, parallelism?, performance?, plugins?, profile?, recordsInputPath?, recordsOutputPath?, recordsPath?, resolve?, resolveLoader?, serve?, stats?, target?, watch?, watchOptions? }
? ?For typos: please correct them.
? ?For loader options: webpack >= v2.0.0 no longer allows custom properties in configuration.
? ? ?Loaders should be updated to allow passing options via loader options in module.rules.
? ? ?Until loaders are updated one can use the LoaderOptionsPlugin to pass these options to the loader:
? ? ?plugins: [
? ? ? ?new webpack.LoaderOptionsPlugin({
? ? ? ? ?// test: /\.xxx$/, // may apply this only for some modules
? ? ? ? ?options: {
? ? ? ? ? ?devSever: …
? ? ? ? ?}
? ? ? ?})
? ? ?]
看不清
舉報(bào)
用前端最熱門框架Vue+最火打包工具Webpack打造todo應(yīng)用
2 回答npm run dev 時(shí)報(bào)錯(cuò)
2 回答npm run dev 報(bào)錯(cuò)
3 回答npm run dev 報(bào)錯(cuò)
1 回答npm run dev 報(bào)錯(cuò)
2 回答npm run dev報(bào)錯(cuò)
Copyright ? 2025 imooc.com All Rights Reserved | 京ICP備12003892號(hào)-11 京公網(wǎng)安備11010802030151號(hào)
購(gòu)課補(bǔ)貼聯(lián)系客服咨詢優(yōu)惠詳情
慕課網(wǎng)APP您的移動(dòng)學(xué)習(xí)伙伴
掃描二維碼關(guān)注慕課網(wǎng)微信公眾號(hào)
2018-08-30
devSever拼錯(cuò)了,是devServer
2018-08-30
Invalid configuration object. Webpack has been initialised using a configuration object that does not match the API schema.
?- configuration has an unknown property 'devSever'. These properties are valid:
? ?object { mode?, amd?, bail?, cache?, context?, dependencies?, devServer?, devtool?, entry?, externals?, loader?, module?, name?, node?, output?, optimization?, parallelism?, performance?, plugins?, profile?, recordsInputPath?, recordsOutputPath?, recordsPath?, resolve?, resolveLoader?, serve?, stats?, target?, watch?, watchOptions? }
? ?For typos: please correct them.
? ?For loader options: webpack >= v2.0.0 no longer allows custom properties in configuration.
? ? ?Loaders should be updated to allow passing options via loader options in module.rules.
? ? ?Until loaders are updated one can use the LoaderOptionsPlugin to pass these options to the loader:
? ? ?plugins: [
? ? ? ?new webpack.LoaderOptionsPlugin({
? ? ? ? ?// test: /\.xxx$/, // may apply this only for some modules
? ? ? ? ?options: {
? ? ? ? ? ?devSever: …
? ? ? ? ?}
? ? ? ?})
? ? ?]
2018-08-30
看不清