nuxt / icon

The <Icon> component, supporting Iconify, Emojis and custom components.
https://stackblitz.com/edit/nuxt-icon-playground?file=app.vue
MIT License
868 stars 37 forks source link

[BUG REPORT] An error occurred when using with nuxt-storybook. #128

Open yongho0605 opened 6 months ago

yongho0605 commented 6 months ago

OS: macOS latest Browser: chrome latest Nuxt version: 3.8.1 nuxt-icon version: 0.6.6 @nuxtjs/storybook version: 7.0.0

how can i do?

I've tried many times to disable the vite plugin, but failed to clear the error

스크린샷 2023-12-13 오전 11 01 02

스크린샷 2023-12-13 오전 11 01 13

mauroziux commented 4 months ago

any update?

lisaschumann commented 3 months ago

I'm running into the same issue when using nuxt-icons :/ At least one <template> or <script> is required in a single file component. There are open issues on storybook itself too: https://github.com/storybook-vue/storybook-nuxt/issues/4 Not sure if it needs to be a fix from nuxt-icons or rather storybook.