storybook
storybook copied to clipboard
Issue on install. Babel plugin syntax import attributes.
Hello, I have some issues. I installed it on fresh nuxt3.
- "@storybook-vue/nuxt": "^8.1.5",
- "nuxt": "3.6.5",
Add @babel/plugin-syntax-import-attributes (https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-import-attributes) to the 'plugins' section of your Babel config to enable parsing.
If you already added the plugin for this syntax to your config, it's possible that your config isn't being loaded.
You can re-run Babel with the BABEL_SHOW_CONFIG_FOR environment variable to show the loaded configuration:
npx cross-env BABEL_SHOW_CONFIG_FOR=/
Where do you add babel? (and why do you need it?) Could you please provide a minimal reproduction? Thanks!