nuxt / nuxt/icon

Vuetify + NuxtIcon: Vue warn Slot "default" invoked outside of the render function:

Open
#89 9 comments 6 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
1.2k
Forks
96
Avg merge
8h 12m
Merged PRs (30d)
2

Description

I'm using nuxt-icon and vuetify, got this warnings when using the nuxt-icon inside the vTabs and vMenu of vuetify. The warnings are produced when the icons are hidden then display like in vTabs and vMenu.
Here is the link to reproduce what I encounter:
https://stackblitz.com/edit/nuxt-starter-fnzdtw?file=app.vue

image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The report points to app.vue in a StackBlitz reproduction and involves nuxt-icon rendered inside Vuetify vTabs and vMenu. Start by running that reproduction and checking when the icons are hidden and shown. Done means the Vue "default" slot warning no longer appears during those visibility changes.

Written by the indexing model from the issue text.

Assessment

Tech stack
nuxtjs
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.