No description
Find a file
2021-04-13 17:26:13 +02:00
.github Remove wasm-pack (#105) 2021-04-13 17:26:13 +02:00
src Use wasm-run to build yewprint (#104) 2021-04-13 16:23:12 +02:00
yewprint Slider (#95) 2021-04-09 17:47:41 +02:00
yewprint-doc Use wasm-run to build yewprint (#104) 2021-04-13 16:23:12 +02:00
.gitattributes Insert demo in README 2020-09-19 14:09:54 +02:00
.gitignore Use wasm-run to build yewprint (#104) 2021-04-13 16:23:12 +02:00
.rustfmt.toml Router (#29) 2020-09-29 18:47:33 +02:00
Cargo.lock Use wasm-run to build yewprint (#104) 2021-04-13 16:23:12 +02:00
Cargo.toml Use wasm-run to build yewprint (#104) 2021-04-13 16:23:12 +02:00
CODE_OF_CONDUCT.md Create CODE_OF_CONDUCT.md 2020-09-24 18:20:58 +02:00
LICENSE Create LICENSE (#18) 2020-09-24 18:19:06 +02:00
README.md Use wasm-run to build yewprint (#104) 2021-04-13 16:23:12 +02:00
rust-toolchain Modify some details on the build (#84) 2021-01-22 14:33:47 +01:00

Yewprint Rust Netlify Status Discord API Docs

It's Blueprint, but for Yew in Rust.

Warning: This is in early development and it is possible it won't be finished if there is no interest. Don't use this in production! Please help or leave a star to let me know you are interested in this project.

Installation

Use as a library (in your project)

yewprint = { git = "https://github.com/cecton/yewprint.git", branch = "main" }

# right now you need a specific version of Yew to use Yewprint
yew = { git = "https://github.com/yewstack/yew.git", rev = "db3170f629f" }

# other yew dependencies need to use this version
# yew-router = { git = "https://github.com/yewstack/yew.git", rev = "db3170f629f" }
# yewtil = { git = "https://github.com/yewstack/yew.git", rev = "db3170f629f", features = ["pure"] }

You will also need the CSS from blueprint, for that you can include the CSS file directly

Development

This section will walk you through setting up the environment required to modify the source of yewprint.

Prerequisites

Run the development server

cargo run -- serve

You can now go to http://localhost:3000

Roadmap