You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<imgalt="GitHub Workflow Status (with event)"src="https://img.shields.io/github/actions/workflow/status/RustLangES/RustLangES.github.io/clippy.yml?label=ci" />
5
+
<imgalt="GitHub Workflow Status (with event)"src="https://img.shields.io/github/actions/workflow/status/RustLangES/RustLangES.github.io/gh-pages.yml?label=deploy" />
6
+
</p>
7
+
8
+
## Desarrollo
2
9
> [!NOTE]
3
10
> You need run `git submodule update --init --recursive` to get external assets for development generation
4
11
Now you can run:
5
12
```sh
6
13
trunk serve
7
14
```
8
15
9
-
# Leptos Starter Template
10
-
11
-
This is a template demonstrating how to integrate [TailwindCSS](https://tailwindcss.com/) with the [Leptos](https://github.com/leptos-rs/leptos) web framework and the [trunk](https://github.com/thedodd/trunk) tool.
12
-
13
-
14
-
Install Tailwind and build the CSS:
15
-
16
-
`Trunk.toml` is configured to build the CSS automatically.
17
-
18
-
Install trunk to client side render this bundle.
19
-
20
-
`cargo install trunk`
21
-
Then the site can be served with `trunk serve --open`
22
-
23
-
The browser will automatically open [http://127.0.0.1:8080//](http://127.0.0.1:8080//)
24
-
25
-
You can begin editing your app at `src/app.rs`.
26
-
27
-
## Installing Tailwind
28
-
29
-
You can install Tailwind using `npm`:
30
-
31
-
```bash
32
-
npm install -D tailwindcss
33
-
```
34
-
35
-
If you'd rather not use `npm`, you can install the Tailwind binary [here](https://github.com/tailwindlabs/tailwindcss/releases).
16
+
## Requisitos
17
+
-[Rust](https://rust-lang.org/tools/install)
18
+
-[NodeJs](https://nodejs.org)
19
+
```bash
20
+
npm install -D tailwindcss
21
+
```
22
+
- [Trunk](https://trunk.dev)
36
23
37
-
## Setting up with VS Code and Additional Tools
38
-
39
-
If you're using VS Code, add the following to your `settings.json`
24
+
## Configura tu VSCode
25
+
Agrega esto en tu `settings.json`
40
26
41
27
```json
42
28
"emmet.includeLanguages": {
@@ -57,23 +43,3 @@ If you're using VS Code, add the following to your `settings.json`
Install [VS Browser](https://marketplace.visualstudio.com/items?itemName=Phu1237.vs-browser) extension (allows you to open a browser at the right window.
64
-
65
-
Allow vscode Ports forward: 3000, 3001.
66
-
67
-
## Notes about Tooling
68
-
69
-
By default, `cargo-leptos` uses `nightly` Rust, `cargo-generate`, and `sass`. If you run into any trouble, you may need to install one or more of these tools.
70
-
71
-
1.`rustup toolchain install nightly --allow-downgrade` - make sure you have Rust nightly
72
-
2.`rustup default nightly` - setup nightly as default, or you can use rust-toolchain file later on
73
-
3.`rustup target add wasm32-unknown-unknown` - add the ability to compile Rust to WebAssembly
74
-
4.`cargo install cargo-generate` - install `cargo-generate` binary (should be installed automatically in future)
75
-
5.`npm install -g sass` - install `dart-sass` (should be optional in future
76
-
77
-
78
-
## Attribution
79
-
This is based on the original Tailwind example (../examples/tailwind)
0 commit comments