Skip to content

Latest commit

 

History

History
83 lines (56 loc) · 1.29 KB

README.md

File metadata and controls

83 lines (56 loc) · 1.29 KB

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 pnpm
corepack use pnpm@latest

dev mode

pnpm i
pnpm dev

release mode

pnpm build

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

Maintenance mode

node maintenance

Upgrade pnpm version

pnpm upgrade

Check oudated node_modules

pnpm outdated

Updgrade node module

pnpm up --latest

rust maintenance

Check upgrade toolchain version

rustup upgrade

Set toolchain version

rustup set <toolchain>