Website: https://shivarthu.on-fleek.app/
src/constants/auth.rs.bak
Change the auth.rs.bak file to auth.rs and give the authentication token
cargo install --locked trunk
cd shivarthu-client
trunk serve
npx tailwindcss -i ./src/input.css -o ./css/output.css --watch
./target/release/node-template --dev --tmp
npm i -D daisyui@latest
npm i -D flowbite
Single file
Format a specific file by name
leptosfmt ./examples/counter/src/lib.rs
Current directory
Format all .rs files within the current directory
leptosfmt .
Directory
Format all .rs files within the examples directory
leptosfmt ./examples
Glob
Format all .rs files ending with _test.rs
within the examples directory
leptosfmt ./examples/**/*_test.rs
cargo fmt --all -- --check
cargo fmt --all
rustfmt src/main.rs
cargo install subxt-cli
subxt metadata -f bytes > metadata.scale
adding a _redirects file on the root of your publish directory,
The content of the _redirects file should be the following:
/* /index.html 200