Skip to content
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

Add line to have app.wpjson work without Tailwind #504

Merged
merged 2 commits into from
Apr 24, 2024
Merged
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
11 changes: 10 additions & 1 deletion sage/replacing-tailwind-with-bootstrap.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
date_modified: 2023-05-16 10:00
date_modified: 2024-04-24 13:00
date_published: 2022-02-24 10:25
description: Sage 10 comes with Tailwind CSS out of the box, but can be replaced with Bootstrap or any other CSS framework.
title: Replacing Tailwind CSS with Bootstrap
Expand All @@ -10,6 +10,7 @@ authors:
- MWDelaney
- kellymears
- talss89
- taylorgorman
---

# Replacing Tailwind CSS with Bootstrap
Expand Down Expand Up @@ -50,6 +51,14 @@ Open `bud.config.js` from your theme and remove the following lines:
- .useTailwindFontSize()
```

And replace with the following line:

```diff
+ .enable()
```

See [Managing theme.json](https://bud.js.org/extensions/sage/theme.json) in the Bud extension docs for more details.

### 5. Remove Tailwind types from `jsconfig.json`

```diff
Expand Down