Question 1

2021-11-03

Talk about how you made your site and why you chose the tools you did. Briefly explain one challenge you experienced in setting up this site and how you solved it.


I chose to use Next.js for the exercise site. I wanted to challenge myself and use Next.js 12. I know, Keep It Super Simple, but couldn't help myself in this case. I tried to update an old starter and had errors, so decided to start with a new Next.js site and use Tailwind since I knew I could pull it from some examples easily.

Here's some of what I setup on the site:

  • Next.js
  • Tailwind
  • MDX for content on the question pages
  • @netlify/plugin-nextjs (Netlify plugin, so awesome)

A challenge I ran into was using the old deploy of running the build then exporting that build. The deploy had an error and after reading I realized the plugin was handling this for me. I would bet a customer upgrading to the plugin might have this error, so I would definitely want to make sure this was documented somewhere for customers.