1.5 KiB
1.5 KiB
info.werefox.cafe
This will be used to replace the former
next.js
project that was hosting the info site.
Development
This project works by using
Dioxus'
fullstack
platform.
If you want a developer environment, you'll need to do the following:
- From the official Dioxus docs, ensure you have
dioxus-cli
and thewasm32-unknown-unknown
target installed
cargo install dioxus-cli
rustup target add wasm32-unknown-unknown
- Additionally, you may need to have the Tauri prerequisites installed.
Then, you should be able to run the development server.
(Linux example)
dx serve --hot-reload
If you'd like to know about how to use dioxus-cli
, you should run dioxus --help
or reference the official documentation.
Running
Have Dioxus
build a run binary.
dx build --release
Then, execute the resulting binary (which should end up in dist/
by default).
./dist/info-werefox-cafe
Project Structure
info-werefox-cafe
|- data # text files that will be read to for data in the app
|- public # save the assets you want include in your project.
|- src # Rust code for the project
|\
||
||- utils # save some public function
||- components # save some custom components