Skip to content

feat: update examples to tailwind v4 #3943

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion example-projects/ecommerce-site/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ This example app is a fullstack web application leveraging the [FakeStoreAPI](ht
1. 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):

```bash
npx tailwindcss -i ./input.css -o ./public/tailwind.css --watch
npx @tailwindcss/cli@latest -i ./input.css -o ./public/tailwind.css --watch
dx serve
```

Expand Down
4 changes: 1 addition & 3 deletions example-projects/ecommerce-site/input.css
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
@tailwind base;
@tailwind components;
@tailwind utilities;
@import "tailwindcss";
18 changes: 18 additions & 0 deletions example-projects/ecommerce-site/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions example-projects/ecommerce-site/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"dependencies": {
"tailwindcss": "^4.1.0"
}
}
Loading
Loading