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

Update About.jsx #160

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

Mukeshsingh8
Copy link

the current import section looks like : import Tilt from "react-tilt";we are facing this issue:
Uncaught SyntaxError: The requested module '/node_modules/.vite/deps/react-tilt.js?v=e9c1a88c' does not provide an export named 'default' (at About.jsx:2:8)

As per : https://www.npmjs.com/package/react-tilt

And using this, I was able to resolve this issue:
import { Tilt } from 'react-tilt'

the current import section looks like : import Tilt from "react-tilt";we are facing this issue:
Uncaught SyntaxError: The requested module '/node_modules/.vite/deps/react-tilt.js?v=e9c1a88c' does not provide an export named 'default' (at About.jsx:2:8)

As per : https://www.npmjs.com/package/react-tilt

And using this, I was able to resolve this issue:
import { Tilt } from 'react-tilt'
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

Successfully merging this pull request may close these issues.

1 participant