This time I'm redoing all of it with the Dioxus Rust crate. https://github.com/DioxusLabs/dioxus
Go to file
Ada Werefox a9f0964452 Fixed typo with custom font file, added minor templating to replace content::RawHtml() call, updated README. 2023-03-29 17:29:57 +00:00
public Fixed typo with custom font file, added minor templating to replace content::RawHtml() call, updated README. 2023-03-29 17:29:57 +00:00
src Fixed typo with custom font file, added minor templating to replace content::RawHtml() call, updated README. 2023-03-29 17:29:57 +00:00
templates Fixed typo with custom font file, added minor templating to replace content::RawHtml() call, updated README. 2023-03-29 17:29:57 +00:00
.gitignore Initial commit. Base working state. 2023-03-28 13:21:31 +00:00
Cargo.toml Fixed typo with custom font file, added minor templating to replace content::RawHtml() call, updated README. 2023-03-29 17:29:57 +00:00
Dioxus.toml Should be done, I wish there were an easier way to change the favicon. Perhaps in future Dioxus versions? 2023-03-28 16:10:06 +00:00
LICENSE Initial commit. Base working state. 2023-03-28 13:21:31 +00:00
README.md Fixed typo with custom font file, added minor templating to replace content::RawHtml() call, updated README. 2023-03-29 17:29:57 +00:00
build.rs Integration with Rocket almost done, TODO: Fix font file serving; Add conditional to spin up Dioxus dev server. 2023-03-29 12:43:39 +00:00
tailwind.config.js Integration with Rocket almost done, TODO: Fix font file serving; Add conditional to spin up Dioxus dev server. 2023-03-29 12:43:39 +00:00

README.md

Dioxus (& Rocket) - letter.werefox.cafe

A re-implementation of the Valentine's Day site I made, but using Rust's Dioxus crate and Rocket crate.

Usage

Just build

cargo build

Start a dev-server for the project:

cargo run

Package this project:

cargo build --release

Ignore This Section

TODO: Make subcrates for Dioxus and Rocket, should enable dev server for Dioxus while maintaining overall compatibility.

(or, I personally use the following since port 8080 is usually being used and I want hot reloading)

dioxus serve --hot-reload --port 8234

Project Structure

.project
- public # save the assets you want include in your project.
- src # put your code
- - utils # save some public function
- - data # text files that will be read to for data in the app
- - components # save some custom components
- - templates # put template files here, right now just using handlebar