Skip to content

fbucek/yewbulma

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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"