Elijah-trillionz / devRoadMap

A roadmap for every beginner looking forward to start a dev journey. We gat you
https://devRoadMap.elijahtrillionz.com
MIT License
7 stars 3 forks source link

Error when clicked... #2

Closed gabriel-q7 closed 1 year ago

gabriel-q7 commented 1 year ago

I clone the repo in my pc, in the index page when I click in the "I'd like to create..." occurs a error "Error fetching data. Please try again". I'm using Brave web browser. error

Elijah-trillionz commented 1 year ago

Hello @gabriel-q7. Thanks for pointing this out, I'm going to try and reproduce it and see if I encounter the same issue.

Elijah-trillionz commented 1 year ago

The error is caused by the fact that you're not using a local server that serves both the resources and the index.html file. If you open it using VSCode live server extension, everything will work fine. But this issue would trigger a feature for it to run on Vite, so everyone contributing can easily get along.

So I'm going to close this issue and create a new issue with a feature tag. But if you are interested in adding Vite yourself (because you discovered it and you should take the credit), please let me know.

gabriel-q7 commented 1 year ago

Got it. I try it with live server, it worked. I'm not used to Vite, but this topic could be in a further discuss.