This is a template for use with the Leptos web framework and the cargo-leptos tool.
If you don't have cargo-leptos
installed you can install it with
cargo install cargo-leptos
Then run
cargo leptos new --git leptos-rs/start
to generate a new project template (you will be prompted to enter a project name).
cd {projectname}
to go to your newly created project.
Of course, you should explore around the project structure, but the best place to start with your application code is in src/app.rs
.
cargo leptos watch
By default, you can access your local project at http://localhost:3000