Skip to content

Commit 5fd6c6b

Browse files
committed
Update Tailwind appendix
1 parent b68bff6 commit 5fd6c6b

File tree

1 file changed

+2
-15
lines changed

1 file changed

+2
-15
lines changed

guides/appendix/live-reload.md

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ To use Tailwind JIT with Ember, this guide follows the [Tailwind Getting Started
2222

2323
To get started, install the following dependencies:
2424
```shell
25-
npm install autoprefixer postcss tailwindcss
25+
npm install tailwindcss
2626
```
2727

2828
Then, from your project's root directory, add the following files:
@@ -41,19 +41,6 @@ Then, from your project's root directory, add the following files:
4141
};
4242
```
4343

44-
- `postcss.config.js`
45-
46-
```js {data-filename="postcss.config.js"}
47-
'use strict';
48-
49-
module.exports = {
50-
plugins: {
51-
tailwindcss: {},
52-
autoprefixer: {},
53-
}
54-
}
55-
```
56-
5744
- `tailwind-input.css`
5845

5946
```css {data-filename="tailwind-input.css"}
@@ -66,7 +53,7 @@ Now we need to add some scripts to the `package.json` to make
6653
interacting with the tailwind CLI a little easier.
6754

6855
```diff {data-filename="package.json"}
69-
+ "tailwind:build": "npx tailwindcss -i ./tailwind-input.css -o ./public/assets/tailwind.css",
56+
+ "tailwind:build": "npx tailwindcss -i ./tailwind-input.css -o ./public/assets/tailwind.css --minify",
7057
+ "tailwind:watch": "npx tailwindcss -i ./tailwind-input.css -o ./public/assets/tailwind.css --watch",
7158
+ "build": "npm run tailwind:build && ember build --environment=production",
7259
- "build": "ember build --environment=production",

0 commit comments

Comments
 (0)