leptos-use/examples/use_user_media/README.md
Hector Candelaria bb017746b9 Feat: Add getUserMedia API implementation
Introduced `use_user_media` function and structure to create a reactive
streaming interface for media input devices.
2024-07-13 16:28:27 -04:00

587 B

A simple example for use_user_media.

If you don't have it installed already, install Trunk and Tailwind as well as the nightly toolchain for Rust and the wasm32-unknown-unknown target:

cargo install trunk
npm install -D tailwindcss @tailwindcss/forms
rustup toolchain install nightly
rustup target add wasm32-unknown-unknown

Then, open two terminals. In the first one, run:

npx tailwindcss -i ./input.css -o ./style/output.css --watch

In the second one, run:

trunk serve --open