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

Importing Shave failed. Getting Shave does not have an export named default. #459

Open
cacious7 opened this issue Jan 15, 2025 · 0 comments

Comments

@cacious7
Copy link

Importing Shave failed. Getting Shave does not have an export named default.

I am using a Shave 5.0.4 In My Nuxt 3.15.1 Project. However, Whenever I try importing shave using the method recommended in the documentation as follows: import shave from 'shave'. I get the error: node_modules/shave/dist/shave.js does not provide an export named 'default'. However, If I import the file by doing: import shave from 'shave/src/shave.ts', the code then works.

It would be really great if we could import shave the same way it is mentioned in the docs. I await your timely response.

Kind Regards


Read about references issues here. Provide paragraph text responses to each header.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant