Nuxt + Vue Solution

Solution retrospective
Before this challenge, I was using React most of my time. This is my first time actually use Vue to build something. And I made it! (though next time I would prefer to use React, it is more familiar to me)
What challenges did you encounter, and how did you overcome them?Initially I was using vite + vue to build this website. It turns out that due to vite's wierd server settings, I cannot access to cleanuri API directly from my Vue page.
At first, I change vite's server proxy settings so that fetch("/api")
can be redirected to the api. It works on local. But after building, hosted on vercel, it broke once again.
Eventually, I turned to Nuxt, using its route handler, and this problem had finally being solved.
I would like to help who was a beginner in React.
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Zup's solution.
Join our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord