Skip to content

patternfly-yew/patternfly-yew-quickstart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

313c1a7 · May 2, 2024
Apr 26, 2024
Apr 18, 2024
Apr 18, 2024
May 24, 2023
May 2, 2024
May 2, 2024
Oct 17, 2020
Jun 27, 2023
Apr 18, 2024
Apr 23, 2024
Apr 23, 2024
Apr 18, 2024

Repository files navigation

PatternFly quick start for Yew

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/

Pre-requisites

  • Rust

    curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
  • Trunk

    cargo install trunk
  • NodeJS npm

Initialize

Fetch the PatternFly dependencies:

npm ci

Run local developer setup

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

Perform a release build

To build the Rust components and package up the page, run:

trunk build --release

The release is in the dist/ folder.