A starter template for scdev that scaffolds a Nuxt 4 project with a working local development environment.
- Node.js 22 (Alpine) container
- Nuxt 4 scaffolded via
nuxi init - pnpm as package manager
- HMR (Hot Module Replacement) via Nuxt dev server
- HTTPS via scdev's shared Traefik router
- Mutagen file sync (macOS) with node_modules and build artifacts kept inside the container
scdev create nuxt4 my-app
cd my-app
scdev setupAfter setup completes, your app is running at https://my-app.scalecommerce.site.
- Starts the Docker container (
scdev start) - Enables pnpm via corepack
- Scaffolds a fresh Nuxt 4 project via
nuxi init(in a temp dir, then copies into the project) - Installs dependencies (
pnpm install) - Marks setup as complete - the Nuxt dev server starts automatically
All commands can be seen in .scdev/commands/setup.just.
The Nuxt dev server runs with HMR - edit your components and see changes instantly in the browser.
To add packages:
scdev exec app pnpm add <package>- scdev installed
- Docker Desktop running
Want to create your own template? See the Template Authoring Guide.