Skip to content

DioxusLabs/docsite

Repository files navigation

dioxuslabs.com

This repository contains the source code for the https://dioxuslabs.com website.

This website is written with Dioxus, pre-generated with dioxus_ssr, and then rehydrated with interactivity provided by dioxus_web.

Development

Run the following command in the root of the project to start the Tailwind CSS compiler:

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

The documentation can be edited using any text editor. Most commonly used editors support syntax highlighting for the markdown format. To view your changes you can install the dx tool locally, assuming you already have a working Rust setup:

cargo install dioxus-cli

With dx installed, you can use it to build and serve the documentation on your local system:

dx serve

This will start a local server that will be available on localhost:8080 and will automatically build and re-build the documentation when it changes.

Contributing