Skip to content

rust-dominator template, with routing, dark mode and tailwindcss

Notifications You must be signed in to change notification settings

zurgl/rs-dom-template

Repository files navigation

rust-dominator template

Pure rust SPA template relying on a fast and minimal signal lib:

This repo is a minimal reproduction of dominator-tailwind-boilerplate, with:

  • Minimal approch (less biolerplate and example)
  • Add-on (with dark mode)
  • Improvement (regarding routing)

To know more about the core of rust-dominator read this tutorial

Features

  • tailwindcss
  • dark mode
  • routing
  • layout

Instruction

You will need to install trunk:

cargo install --locked trunk

Easy way to install pnpm if you have a working nodejs

corepack enable
corepack prepare [email protected] --activate

dev mode

pnpm i
pnpm dev

release mode

pnpm build

Then serve the content in ./dist with a http server

About

rust-dominator template, with routing, dark mode and tailwindcss

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published