python3 -m pip install pre-commit
pre-commit install
Note
End to end tests are located at end2end/
cargo install wasm-pack
You need to install a browser and run:
cd end2end
wasm-pack test --{browser} --headless
Where {browser}
is one of firefox
, chrome
, or safari
. For example:
cd end2end
wasm-pack test --firefox --headless
If you want to run a test suite pass it in the --test
flag.
For example, to run the csr_complete
test suite run:
cd end2end
wasm-pack test --firefox --headless --test csr_complete
cargo test -p leptos-fluent -p leptos-fluent-macros
cargo doc --open --no-deps
cargo install mdbook
cd book
mdbook serve --open