Skip to content

velascoandres/RustLangES.github.io

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

image

GitHub Workflow Status (with event) GitHub Workflow Status (with event)

Requisitos Generales

antes de empezar tienes que instalar estos programas

Requisitos Windows >= 10

  • BusyBox
    • try: scoop install busybox
    • try: choco install busybox

Desarrollo

Note

necesitas fetch git submodules para clonar los assets externos para el desarrollo

git submodule update --init --recursive

Now you can run:

rustup toolchain install nightly
rustup default nightly
rustup target add wasm32-unknown-unknown
npm install
trunk build
trunk serve --open
# Or more verbose
trunk --config Trunk.toml serve --verbose --open

Configura tu VSCode

Agrega esto en tu settings.json

{
  "emmet.includeLanguages": {
    "rust": "html",
    "*.rs": "html"
  },
  "tailwindCSS.includeLanguages": {
      "rust": "html",
      "*.rs": "html"
  },
  "files.associations": {
      "*.rs": "rust"
  },
  "editor.quickSuggestions": {
    "other": "on",
    "comments": "on",
    "strings": true
  },
  "css.validate": false
}

Summary

This project uses a custom branch of Leptos to be able to directly serve the output directory as a static website.

cargo make serve serves the div directory with watch mode and hot-reload enabled. cargo make build builds the project in release. The output will be in the dist directory and the command will not serve it, but quit instead. cargo make fmt formats with rustfmt and leptosfmt.

About

Sitio web de la comunidad RustLangES

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 84.6%
  • Nix 6.3%
  • TypeScript 3.4%
  • CSS 2.9%
  • JavaScript 2.8%