This repository provides a boilerplate setup for building web applications using the Yew framework with Tailwind CSS. It allows users to quickly get started with their Yew projects without having to configure everything from scratch.
- Yew: Leverage the powerful Yew framework for building web applications in Rust.
- Tailwind CSS: Utility-first CSS framework for rapid UI development.
- Client-Side Rendering (CSR): Configured for CSR for better performance and user experience.
- Yew Router: Integrated Yew Router for seamless client-side routing.
- Rust: Install Rust from rust-lang.org
- wasm-pack: Install
wasm-pack
by following the instructions on rustwasm.github.io
git clone https://github.com/hadihaider055/rust-yew-boilerplate.git
cd rust-yew-boilerplate
cargo build
trunk serve
Note
Add option --open
to open your default browser trunk serve --open
.
Contributions are welcome! Please open an issue or submit a pull request if you have any improvements or new features to add.
This project is licensed under the MIT License. See the LICENSE file for more details.
For any inquiries, please contact Hadi Haider.
Made with ❤️ by Hadi Haider