Skip to content

Commit f3b5c7e

Browse files
docs: update README
Co-authored-by: Felipe Arce <arceprogramando@gmail.com>
1 parent c21cff9 commit f3b5c7e

File tree

3 files changed

+6
-12
lines changed

3 files changed

+6
-12
lines changed

Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -86,13 +86,13 @@ bin-features = ["ssr"]
8686
# The tailwind input file.
8787
#
8888
# Optional, Activates the tailwind build
89-
# tailwind-input-file = "input.css"
89+
tailwind-input-file = "input.css"
9090

9191
# The tailwind config file.
9292
#
9393
# Optional, defaults to "tailwind.config.js" which if is not present
9494
# is generated for you
95-
# tailwind-config-file = "tailwind.config.js"
95+
tailwind-config-file = "tailwind.config.js"
9696

9797
# If the --no-default-features flag should be used when compiling the bin target
9898
#

Makefile.toml

+1
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ args = ["leptos", "serve", "-r"]
6262
script.pre = "npx tailwind -i input.css -o style/output.css"
6363

6464
[tasks.serve]
65+
dependencies = ["prebuild"]
6566
install_crate = { crate_name = "cargo-leptos", binary = "cargo", test_arg = [
6667
"leptos",
6768
"--version",

README.md

+3-10
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
antes de empezar tienes que instalar estos programas
1111
- [Rust](https://rust-lang.org/tools/install)
1212
- [NodeJs](https://nodejs.org)
13-
- [Trunk](https://trunkrs.dev/)
1413

1514
## Requisitos Windows >= 10
1615
- [BusyBox](https://busybox.net/)
@@ -39,15 +38,9 @@ rustup target add wasm32-unknown-unknown
3938
```bash
4039
npm install
4140
```
42-
```sh
43-
trunk build
44-
```
45-
```sh
46-
trunk serve --open
47-
```
48-
```sh
49-
# Or more verbose
50-
trunk --config Trunk.toml serve --verbose --open
41+
```bash
42+
cargo install cargo-make
43+
cargo make serve
5144
```
5245

5346
## Configura tu VSCode

0 commit comments

Comments
 (0)