Skip to content

Latest commit

 

History

History
26 lines (15 loc) · 751 Bytes

readme.md

File metadata and controls

26 lines (15 loc) · 751 Bytes

Yew Bulma

Components for Yew in Bulma CSS

build

Development

Using examples and watch

  1. cargo watch -s "examples/run.sh table" or cargo watch -s "examples/run.sh table-wb ( wb -> wasm-bindgen )
    • Run server e.g. using serving example/static folder
    • using python3 -m http.server 8000 --directory examples/static
    • or VSCode extension: Live Server
  2. ./run.sh watchexample table ( table is example subproject )

Using wasm-pack build

  • cargo watch -i "pkg/**" -s "wasm-pack build"

Tests

Just prepared to run tests

  • cargo watch -i "pkg/**" -s "wasm-pack test --headless --chrome"