【发布时间】:2020-08-05 06:44:59
【问题描述】:
Nuxt.js 最新版本在构建或部署具有 Vuetify 的项目时抛出以下错误。
remote: > 从 "!../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'
【问题讨论】:
-
请分享您的 nuxt.config.js 文件内容
标签: vuetify.js nuxt.js