wasm-pack build --target=web --debug --no-default-features --features=hydrate cargo run --no-default-features --features=ssr # dev source .env cargo sqlx migrate run cargo leptos watch npx tailwindcss -i ./input.css -o ./style/output.css --watch # deploy example of systemd config ``` [Unit] Description=Home website After=mysql.service [Service] EnvironmentFile=/var/www/rust_leptos/.env ExecStart=/var/www/rust_leptos/rust_leptos Type=simple [Install] WantedBy=multi-user.target ``` ## features [x] ssr [x] MySQL [x] tailwindcss [x] router [ ] value gestion des erreurs [x] deploy [ ] hydratation ## pages [x] liens [x] formulaire [x] recap capteurs [x] volets ## style [Simple dark dashboard](https://dribbble.com/shots/10090105-Dashboard-UI/attachments/2097885?mode=media) ## helps [Leptos starter kit](https://github.com/Oishh/leptos-axum-tailwind-start) [Leptos blog](https://github.com/Bechma/realworld-leptos)