Warren Lee

Full-Stack Developer
Scroll

Latest Thoughts

Read All

Deploying a Nuxt app to Netlify

Netlify will build a Nuxt app with almost no configuration, and that is the problem: the default works right up until the moment your repository is shaped slightly differently from the one Netlify assumes. This post is about the three settings that actually earn their place, the two environment variables that are load-bearing rather than decorative, and the failure mode that produces a perfectly green deploy of an empty site.

Using Sanity.io with Nuxt 4

This site used to keep its blog posts as Markdown files and read them at build time. It now keeps them in Sanity and queries them at runtime. That migration is mostly plumbing, but a handful of things about it are genuinely counter-intuitive, and each one cost me time, so this post is about those rather than about how to install a module.