mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-11-10 06:34:20 +00:00
3fb1f739d1
* simplify cli-config crate * clean up configs * add devtools crate, update cargo imports * fix serve addr, fix websocket proxy issue * add comment about opt profiles * rename hot-reload to devtools |
||
---|---|---|
.. | ||
public | ||
src | ||
.gitignore | ||
Cargo.toml | ||
demo.png | ||
input.css | ||
README.md | ||
tailwind.config.js |
Dioxus Example: An e-commerce site using the FakeStoreAPI
This example app is a fullstack web application leveraging the FakeStoreAPI and Tailwind CSS.
Development
- Run the following commands to serve the application (see the tailwind example in the main Dioxus repo for more detailed information about setting up tailwind):
npx tailwindcss -i ./input.css -o ./public/tailwind.css --watch
dx serve
Status
This is a work in progress. The following features are currently implemented:
- A homepage with a list of products dynamically fetched from the FakeStoreAPI (rendered using SSR)
- A product detail page with details about a product (rendered using LiveView)
- A cart page
- A checkout page
- A login page