yew-tailwind-template Tailwind Templates

Yew Tailwind Template

Yew.rs template for tailwindcss

Yew.rs tailwind template

A minimal template for using yew.rs with tailwindcss!

Features

  • Routing
  • Example component
  • Custom font
  • 404 page

Using this template

  1. Clone the repo:
git clone https://github.com/snowstry/yew-tailwind-template
  1. Get a prebuilt binary of tailwind from their official website. You can also use npm/yarn to globally install tailwindcss.

  2. Install trunk, wasm-bindgen-cli and webassembly target.

cargo install trunk
cargo install wasm-bindgen-cli
rustup target add wasm32-unknown-unknown
  1. Run trunk serve

Top categories

Loading Svelte Themes