Skip to main content
Mizu provides ready-to-use templates for popular frontend frameworks, making it easy to start new projects.

Available Templates

Using Templates

Create New Project

What’s Included

Each template includes:
  • Backend: Complete Mizu server setup
  • Frontend: Pre-configured framework
  • Build config: Vite/webpack/Angular CLI configured
  • Development setup: Hot reload ready
  • Production build: Embedded filesystem
  • Makefile: Common commands
  • Example code: Working examples

Template Structure

SPA Templates (React/Vue/Svelte)

HTMX Template

Customizing Templates

Modify Build Output

Update frontend build config:

Add Dependencies

Change Dev Port

Template Features

All Templates Include

  • βœ… TypeScript support (SPA templates)
  • βœ… Hot Module Replacement
  • βœ… Production build optimization
  • βœ… Auto-detect dev/prod mode
  • βœ… API route examples
  • βœ… Embedded filesystem setup
  • βœ… Makefile with common commands

Template-Specific Features

React:
  • React Router
  • TypeScript
  • CSS Modules
Vue:
  • Vue Router
  • Composition API
  • TypeScript
Svelte:
  • SvelteKit routing
  • TypeScript
  • Scoped styles
HTMX:
  • Go templates
  • HTMX examples
  • Alpine.js integration

Makefile Commands

All templates include these commands:

Next Steps

Quick Start

Get started with a template

Minimal Setup

Manual setup without templates

CLI

CLI documentation