* ./node_modules/@vue/vue-loader-v15/lib/index.js You may need an additional loader to handle the result of these loaders.
时间: 2023-09-25 10:14:54 浏览: 272
深入理解vue-loader如何使用
根据引用中提到的方法,你需要安装一个叫做VueLoaderPlugin的插件来处理vue-loader的15之后的版本。你可以在终端使用命令cnpm i vue-loader-plugin -S来安装这个插件。然后,在webpack.config.js配置文件中进行相关的配置操作,确保在module.exports下的plugins中添加了VueLoaderPlugin。最后,运行npm run dev命令来启动项目。这样就可以解决你遇到的错误"./node_modules/@vue/vue-loader-v15/lib/index.js You may need an additional loader to handle the result of these loaders"。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* *3* [关于引入vue-loader时报错, * ./node_modules/_vue-loader@15.9.1@vue-loader/lib/index.js](https://blog.csdn.net/weixin_44011405/article/details/105622554)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 100%"]
[ .reference_list ]
阅读全文