Skip to content
Submitted over 2 years ago

Rest Countries API - Vue

vue, vuex
P
@nityagulati
A solution to the REST Countries API with color theme switcher challenge

Solution retrospective


New to Vue and had a bit of difficulty setting up the vuex store but I think I have got a decent solution - open to any suggestions to optimize the code further.

I haven't been able to solve one issue with losing route params on refreshing the Country Info page. Initial load works fine but then resets the data and displays an empty page on refresh.

Code
Loading...

Please log in to post a comment

Log in

Community feedback

No feedback yet. Be the first to give feedback on Nitya Gulati’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