Skip to content
New issue

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

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

Already on GitHub? # to your account

Include a default tailwind file so compilation doesn't immediately fail #53

Merged
merged 2 commits into from
Dec 10, 2024
Merged
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
Empty file added Bare-Bones/assets/tailwind.css
Empty file.
1 change: 1 addition & 0 deletions Bare-Bones/conditional-files.rhai
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ let is_tailwind = variable::get(IS_TAILWIND_VAR);
if !is_tailwind {
file::delete("tailwind.config.js");
file::delete("input.css");
file::delete("assets/tailwind.css");
}
2 changes: 1 addition & 1 deletion Jumpstart/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ If you chose to develop with the router feature, you will also have a `views` fo
3. Run the following command in the root of the project to start the Tailwind CSS compiler:

```bash
npx tailwindcss -i ./input.css -o ./assets/styling/tailwind.css --watch
npx tailwindcss -i ./input.css -o ./assets/tailwind.css --watch
```
{%- endif %}

Expand Down
Empty file added Jumpstart/assets/tailwind.css
Empty file.
1 change: 1 addition & 0 deletions Jumpstart/conditional-files.rhai
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ let is_tailwind = variable::get(IS_TAILWIND_VAR);
if !is_tailwind {
file::delete("tailwind.config.js");
file::delete("input.css");
file::delete("assets/tailwind.css");
}

let is_router = variable::get(IS_ROUTER_VAR);
Expand Down
Loading