Skip to content

snowstry/yew-tailwind-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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