This is a quickstart template to get you started with PatternFly for Yew.
Here you can see this page in action: https://patternfly-yew.github.io/patternfly-yew-quickstart/
-
Rust
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
-
Trunk
cargo install trunk
-
NodeJS
npm
Fetch the PatternFly dependencies:
npm ci
Start a local development server, which re-builds every time you make changes to the code:
trunk serve
Direct your web browser to: http://localhost:8080
You can also start on a different port:
trunk serve --port 8010
To build the Rust components and package up the page, run:
trunk build --release
The release is in the dist/
folder.