When I set the global component to true in the config, it's causing a bug and showing an error message.
[vite:vue] At least one <template> or <script> is required in a single file component.
What's weird is that this happens even when none of the components are empty. I tried even on a new project too. I'm not sure if it's related, but I've saw a similar problem with Storybook Vue Vite.
When I set the global component to true in the config, it's causing a bug and showing an error message.
[vite:vue] At least one <template> or <script> is required in a single file component.
What's weird is that this happens even when none of the components are empty. I tried even on a new project too. I'm not sure if it's related, but I've saw a similar problem with Storybook Vue Vite.
https://github.com/storybookjs/storybook/issues/20024
components: [ { global: true, path: '~/components', prefix: 'Mds', },