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
- tailwindcss
- dark mode
- routing
- layout
You will need to install trunk:
cargo install --locked trunk
Easy way to install pnpm if you have a working nodejs
corepack enable pnpm
corepack use pnpm@latest
pnpm i
pnpm dev
pnpm build
Then serve the content in ./dist
with a http server
Upgrade pnpm version
pnpm upgrade
Check oudated node_modules
pnpm outdated
Updgrade node module
pnpm up --latest
Check upgrade toolchain version
rustup upgrade
Set toolchain version
rustup set <toolchain>