crustle Tailwind Templates

Crustle

A rust pokedex built using dioxus and tailwind

crustle

Crustle is a Bug/Rock-type Pokémon introduced in Generation V. It is also this project, which is named after the crab pokemon to honor Rustaceans that also enjoy pocket monsters. This is a simple Pokédex app built using Rust, Tailwind & Dioxus (not to be confused with Deoxys).

Prerequisites

  1. Install rust using rustup
  2. Install dioxus labs crate
  3. Setup tailwind following these instructions

Linting with Clippy

This project uses clippy for linting. While CI/CD will run cargo build and cargo test commands, clippy linting is not required. If you want to lint using clippy, follow these steps:

  1. Update rustup: rustup update
  2. Install clippy: rustup component add clippy
  3. Run the linter: cargo clippy

Running the App

To run the app on your local machine, you can run this command:

dx serve --port 5001 --hot-reload

If you've made any changes to CSS or plan to make changes to CSS:

npx tailwindcss -i ./src/index.css -o ./public/tailwind.css --watch

Preview

Credits

Data provided by the wonderful folks at PokeAPI.

Top categories

Loading Svelte Themes