91e017818c
* gitignore tailwind.css * tailwind gitignore for Desktop and FullStack |
||
---|---|---|
.. | ||
assets | ||
src | ||
.gitignore | ||
Cargo.toml | ||
Dioxus.toml | ||
README.md | ||
cargo-generate.toml | ||
input.css | ||
tailwind.config.js |
README.md
Development
{% if styling == "Tailwind" %}
- Install npm: https://docs.npmjs.com/downloading-and-installing-node-js-and-npm
- Install the tailwind css cli: https://tailwindcss.com/docs/installation
- Run the following command in the root of the project to start the tailwind CSS compiler:
npx tailwindcss -i ./input.css -o ./assets/tailwind.css --watch
{% endif %} Run the following command in the root of the project to start the Dioxus dev server:
dx serve --hot-reload
- Open the browser to http://localhost:8080