yewprint/README.md
Cecile Tonglet 1aae88fa40
Add command to update Blueprint CSS (#111)
* Add command to update Blueprint CSS

* Actually update CSS
2021-06-10 11:15:21 +02:00

7.3 KiB

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" }

You will also need the CSS from Blueprint. There is a helper crate that can be used to automatize this:

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

Then you can add this to your build process:

yewprint_css::download_css("static/blueprint.css)?;

Development Environment

cargo run -- serve

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

Blueprint CSS update

cargo run -- update-css

Roadmap