Hello, im new to web development so bare with me if its a dumb issue, but i cannot import my code. i did the following steps shown Here, my website is still the default vercel website with no changes
This is my page.tsx code:
This is my component code:
Hi @chinmaypotz-gmailcom!
Don’t worry, we’re happy to help.
Could you share your whole repository with us? Or you could also try and troubleshoot with these points:
- Make sure your component file is in the correct location. In a typical Next.js project, components are usually stored in a
components
folder at the root of your project.
- In your component file, ensure you’re exporting the component correctly. It should be the default export.
- The import statement in your
page.tsx
file looks correct, assuming the component file is named Component.tsx
and is in the components
folder.
- Is your
next.config.js
file is set up correctly?
Hey! first of all thank you for replying, i have checked everything you listed it looks correct
and as you requested heres the repo
Anyone that knows how to fix this issue?