0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

Two component files resolving to the same nameの解消

Posted at

Two component files resolving to the same name

発生上状況

  • nuxt version 2.13+
  • component配下に同名ファイルが存在

デフォルト時では起きないですが、nuxt.configのcomponentsがtrueになっていると発生します。

nuxt.config.ts
components: true,

上記エラーに遭遇したら

nuxt.config.ts
components: false,

components: false,にすればwarningは出なくなりますー。

The components Property
https://nuxtjs.org/docs/2.x/configuration-glossary/configuration-components

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?