如何解决Vuetify错误“已经声明installComponents”?

问题描述 投票:0回答:1

Nuxt.js最新版本在构建或部署具有Vuetify的项目时引发以下错误。

远程:>从“!../ node_modules / vuetify-loader / lib / runtime / installComponents.js”导入installComponents]

   Module parse failed: Identifier 'installComponents' has already been declared (53:7)
You may need an appropriate loader to handle this file type.
|
| /* vuetify-loader */
> import installComponents from "!../../../node_modules/vuetify-loader/lib/runtime/installComponents.js"
| import { VBtn } from 'vuetify/lib'
| import { VCard } from 'vuetify/lib'
vuetify.js nuxt.js
1个回答
0
投票
© www.soinside.com 2019 - 2024. All rights reserved.