#Component is not being used according to devtools

8 messages · Page 1 of 1 (latest)

ionic elbow
#

I have this app

<script>
...
</script>

<template>
  <Tag />
  <Scene />
</template>

Then I have my components located at components/tag.vue and components/scene.vue, both detected by nuxt devtools. However, according to devtools, these components are not being used. Only occasionally they appear as being used. They both render, but, their children are not being rendered, and I can't debug properly if the devtools thinks that the components are not being used.

twin beacon
#

try putting them in a single root node/element (wrap them in div)

ionic elbow
#

I don't know what to share to be helpful

#

I don't think this bug is happening because of my code at all

#

should I report this as an issue?

twin beacon
#

you should create a reproduction first on stackblitz (you can use https://nuxt.new)

#

then someone can take a look at that and we go from there