Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted over 2 years ago

Country API Next13 & TailwindCSS

next, react, tailwind-css
frbarbre•660
@frbarbre
A solution to the REST Countries API with color theme switcher challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


I have very mixed feelings about this project.

I quite happy with my solution and i really learned alot. But i'm clearly doing something wrong in my routing. Because the routes break on the live site, but works fine on my local machine.

I would greatly appriciate if one of you, had an idea why all my routes break, i'm all ears!

EDIT: I fixed the issue. I wasn't allowed to use the output: "export" setting in the nexs.js.config file.

Code
Loading...

Please log in to post a comment

Log in with GitHub

Community feedback

No feedback yet. Be the first to give feedback on frbarbre'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

Stay up to datewith new challenges, featured solutions, selected articles, and our latest news

Frontend Mentor

  • Unlock Pro
  • Contact us
  • FAQs
  • Become a partner
  • Use cases

Explore

  • Learning paths
  • Challenges
  • Solutions
  • Articles

Community

  • Discord
  • Guidelines

For companies

  • Hire developers
  • Train developers
© Frontend Mentor 2019 - 2025
  • Terms
  • Cookie Policy
  • Privacy Policy
  • License