Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue on install. Babel plugin syntax import attributes. #752

Open
jaguar19961 opened this issue Aug 13, 2024 · 1 comment
Open

Issue on install. Babel plugin syntax import attributes. #752

jaguar19961 opened this issue Aug 13, 2024 · 1 comment
Labels
status: help wanted Good idea, but the core developers will not work on it at the moment status: needs reproduction Needs a minimal reproduction type: bug Something isn't working

Comments

@jaguar19961
Copy link

Hello, I have some issues. I installed it on fresh nuxt3.

  1. "@storybook-vue/nuxt": "^8.1.5",
  2. "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=/
See https://babeljs.io/docs/configuration#print-effective-configs for more info.

@jaguar19961 jaguar19961 changed the title Issue on install babel plugin syntax import attributes Issue on install. Babel plugin syntax import attributes. Aug 13, 2024
@tobiasdiez tobiasdiez added type: bug Something isn't working status: needs reproduction Needs a minimal reproduction status: help wanted Good idea, but the core developers will not work on it at the moment labels Aug 14, 2024
@tobiasdiez
Copy link
Collaborator

Where do you add babel? (and why do you need it?) Could you please provide a minimal reproduction? Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: help wanted Good idea, but the core developers will not work on it at the moment status: needs reproduction Needs a minimal reproduction type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants