Skip to content

Commit

Permalink
docs: update README.md with installation instructions and development…
Browse files Browse the repository at this point in the history
… setup for cargo-leptos
  • Loading branch information
Phosphorus-M committed Jan 11, 2025
1 parent 9b459dd commit f320108
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,36 @@
# Rust Perú (WIP)

## ¿Como ejecutar? así:

`cargo install cargo-leptos --locked`

1. `rustup toolchain install nightly` - make sure you have Rust nightly
2. `rustup target add wasm32-unknown-unknown` - add the ability to compile Rust to WebAssembly
4. `npm install -g sass` - (Quizás no es necesario, de momento no fue necesario)
5. `npm install` in end2end subdirectory before test

Levantar servidor de desarrollo:
`cargo leptos watch --features development`

Buildear:

`RUSTFLAGS="--cfg erase_components" cargo leptos serve -r`


## Testeo
```bash
cargo leptos end-to-end
```

```bash
cargo leptos end-to-end --release
```

----------

# Original README.md


<picture>
<source srcset="https://raw.githubusercontent.com/leptos-rs/leptos/main/docs/logos/Leptos_logo_Solid_White.svg" media="(prefers-color-scheme: dark)">
<img src="https://raw.githubusercontent.com/leptos-rs/leptos/main/docs/logos/Leptos_logo_RGB.svg" alt="Leptos Logo">
Expand Down

0 comments on commit f320108

Please sign in to comment.