Skip to content

jy3l40c9/RustLangPageAlter

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

302 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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
cargo install cargo-make
cargo make serve

For do a commit:

cargo install rusty-hook
cargo install leptosfmt --version 0.1.13

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

No description, website, or topics provided.

Resources

License

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Rust 86.6%
  • Nix 5.4%
  • TypeScript 2.9%
  • CSS 2.7%
  • JavaScript 2.4%