Someone know why import and export doesn't work in my visual studio code?

I’m started following a tutorial. But i can’t figured cuz import and export function doen’st work in my project. I’m feeling dumb really

Hi @franciscomonellole,

Perhaps this link might help: => Javascript Import Don't Work In Visual Studio Code - Stack Overflow


I’m guessing you are using the React CDN links? Don’t do that, it won’t work with components like you are using them.

Use Vite, it is quick and easy to set up.

npm create vite@latest

Follow the prompts

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.