From f3b5c7ea6a610ff5321af00e5f42f6b2124287b4 Mon Sep 17 00:00:00 2001 From: Phosphorus Date: Wed, 1 May 2024 19:38:07 -0300 Subject: [PATCH] docs: update README Co-authored-by: Felipe Arce --- Cargo.toml | 4 ++-- Makefile.toml | 1 + README.md | 13 +++---------- 3 files changed, 6 insertions(+), 12 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 3ffa0e6..388aa9e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -86,13 +86,13 @@ bin-features = ["ssr"] # The tailwind input file. # # Optional, Activates the tailwind build -# tailwind-input-file = "input.css" +tailwind-input-file = "input.css" # The tailwind config file. # # Optional, defaults to "tailwind.config.js" which if is not present # is generated for you -# tailwind-config-file = "tailwind.config.js" +tailwind-config-file = "tailwind.config.js" # If the --no-default-features flag should be used when compiling the bin target # diff --git a/Makefile.toml b/Makefile.toml index 6f00b12..c5eed2e 100644 --- a/Makefile.toml +++ b/Makefile.toml @@ -62,6 +62,7 @@ args = ["leptos", "serve", "-r"] script.pre = "npx tailwind -i input.css -o style/output.css" [tasks.serve] +dependencies = ["prebuild"] install_crate = { crate_name = "cargo-leptos", binary = "cargo", test_arg = [ "leptos", "--version", diff --git a/README.md b/README.md index aa191d4..fdcd1b8 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,6 @@ antes de empezar tienes que instalar estos programas - [Rust](https://rust-lang.org/tools/install) - [NodeJs](https://nodejs.org) -- [Trunk](https://trunkrs.dev/) ## Requisitos Windows >= 10 - [BusyBox](https://busybox.net/) @@ -39,15 +38,9 @@ rustup target add wasm32-unknown-unknown ```bash npm install ``` -```sh -trunk build -``` -```sh -trunk serve --open -``` -```sh -# Or more verbose -trunk --config Trunk.toml serve --verbose --open +```bash +cargo install cargo-make +cargo make serve ``` ## Configura tu VSCode