[▲ Vercel Community](/) · [Categories](/categories) · [Latest](/latest) · [Top](/top) · [Live](/live)

[Help](/c/help/9)

# V0 - Unable to import generated code

117 views · 0 likes · 4 posts


Chinmaypotz Gmailcom (@chinmaypotz-gmailcom) · 2024-08-22

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](https://v0.dev/docs#how-to-use-the-generated-code), my website is still the default vercel website with no changes

This is my page.tsx code: 
![Screenshot 2024-08-22 at 3.44.31 PM|690x189](upload://qiEQjC1XjaUgsoAlaY3wdZtzhKI.png)


This is my component code:

https://pastebin.com/PrA4A4hg


Pauline P. Narvas (@pawlean) · 2024-08-22

Hi @chinmaypotz-gmailcom!

Don't worry, we're happy to help. :smile: 

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?


Chinmaypotz Gmailcom (@chinmaypotz-gmailcom) · 2024-08-22

Hey! first of all thank you for replying, i have checked everything you listed it looks correct

and as you requested heres the [repo](https://github.com/Chinmay1088/payx)


Chinmaypotz Gmailcom (@chinmaypotz-gmailcom) · 2024-08-24

Anyone that knows how to fix this issue?