{"repo":"leptos-rs/start-trunk","free":true,"listed":false,"github":"https://github.com/leptos-rs/start-trunk","clone":"git clone https://github.com/leptos-rs/start-trunk.git","description":"A Starter Template for Leptos-rs CSR Apps using the Trunk build tool","language":"Rust","stars":57,"topics":[],"license":null,"category":"saas-starters-boilerplates","readme_excerpt":"Leptos Client-Side Rendered (CSR) App Starter Template This is a template for use with the [Leptos][Leptos] web framework using the [Trunk][Trunk] tool to compile and serve your app in development. Creating your repo from the template This template requires you to have cargo-generate and trunk installed. leptosfmt is optional but highly recommended. You can install them with To set up your project with this template, run to generate your new project, then to go to your newly created project. By default, this template uses Rust nightly and requires that you've installed the wasm compilation target for your toolchain. Sass and Tailwind are also supported by the Trunk build tool, but are optional additions: [see here for more info on how to set those up with Trunk][Trunk-instructions]. If you don't have Rust nightly, you can install it with You can add the wasm compilation target to rust using Developing your Leptos CSR project To develop your Leptos CSR project, running will open your app in your default browser at http://localhost:3000 . Deploying your Leptos CSR project To build a Leptos CSR app for release, use the command This will output the files necessary to run your app into the dist folder; you can then use any static site host to serve these files. For further information about hosting Leptos CSR apps, please refer to [the Leptos Book chapter on deployment available here][deploy-csr]. [Leptos]: https://github.com/leptos-rs/leptos [Trunk]: https://github.com/trunk-rs/t","default_branch":null,"files":null,"tree":[],"storefront":"/r/leptos-rs","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/leptos-rs/start-trunk/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}