Skip to content

Commit

Permalink
Add line to have app.wpjson work without Tailwind (#504)
Browse files Browse the repository at this point in the history
* Add line to have `app.wpjson` work without Tailwind

* Update replacing-tailwind-with-bootstrap.md

---------

Co-authored-by: Ben Word <[email protected]>
  • Loading branch information
taylorgorman and retlehs authored Apr 24, 2024
1 parent 3aaefeb commit 77a22d2
Showing 1 changed file with 10 additions and 1 deletion.
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

0 comments on commit 77a22d2

Please sign in to comment.