
Nuxt 4 Mapbox: How to Add Interactive Maps with Mapbox GL JS
Learn how to use Mapbox with Nuxt 4. Add interactive Mapbox GL JS maps, markers, popups and GeoJSON layers in a Nuxt 4 + TypeScript app, step by step.
Hands-on tutorials, open-source projects, and experiments. Follow along to learn Three.js, Nuxt, and TypeScript patterns.

I'm a web developer, freelancer, former e-sports professional and digital creator from Gothenburg, Sweden.
I created this website as a place to document my coding journey and to share fun coding projects that hopefully will inspire you or teach you something new.
Stay up to date with modern web technology. Deep dives, practical guides, and hands-on projects.

Learn how to use Mapbox with Nuxt 4. Add interactive Mapbox GL JS maps, markers, popups and GeoJSON layers in a Nuxt 4 + TypeScript app, step by step.

Production-ready Nuxt 4 deployment on a Linux server using PM2 and Nginx. Zero-downtime reloads, SSL with Certbot, logs, and best practicesβno Docker required.

Create a shareable Nuxt Layer UI kit and a docs site powered by @nuxt/content and Tailwind CSS. We use Nuxt 4 Layers, typed app config, and a pnpm workspace for a smooth DX.

Build a GPS-powered scavenger hunt with geohints, geofenced checkpoints, and gorgeous 3D maps using Nuxt 4, TypeScript, and Mapbox GL JS v3.

Build a real-time collaborative whiteboard with multi-user presence, cursors, and offline cache using Nuxt 4, TypeScript, Firestore (persistentLocalCache), and Realtime Database.

Build a real-time community heatmap of favorite spots using Nuxt 4, TypeScript, Mapbox GL JS v3, and Firebase.