adrianhajdin / project_3D_developer_portfolio

The most impressive websites in the world use 3D graphics and animations to bring their content to life. Learn how to build your own ThreeJS 3D Developer Portfolio today!
https://jsmastery.pro
6.15k stars 1.38k forks source link

Update About.jsx #160

Open Mukeshsingh8 opened 3 months ago

Mukeshsingh8 commented 3 months ago

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'