Submitted almost 3 years agoLVL 4A solution to the REST Countries API with color theme switcher challenge
Rest Countries API - Vue
vue, vuex
P
@nityagulati

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 with GitHubCommunity 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