Skip to content

Commit

Permalink
docs: update Tailwind examples (remix-run#3431)
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelDeBoey committed Jun 9, 2022
1 parent 52985dd commit 1521386
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion docs/guides/styling.md
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,8 @@ npx tailwindcss init

Now we can tell it which files to generate classes from:

```js filename=tailwind.config.js lines=[2]
```js filename=tailwind.config.js lines=[3]
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ["./app/**/*.{ts,tsx,jsx,js}"],
theme: {
Expand Down
2 changes: 1 addition & 1 deletion examples/blog-tutorial/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
"prettier-plugin-tailwindcss": "^0.1.10",
"prisma": "^3.13.0",
"start-server-and-test": "^1.14.0",
"tailwindcss": "^3.0.24",
"tailwindcss": "^3.1.0",
"typescript": "^4.6.4",
"vite": "^2.9.7",
"vite-tsconfig-paths": "^3.4.1",
Expand Down
1 change: 1 addition & 0 deletions examples/blog-tutorial/tailwind.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ["./app/**/*.{ts,tsx,jsx,js}"],
theme: {
Expand Down
2 changes: 1 addition & 1 deletion examples/tailwindcss/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"eslint": "^8.10.0",
"npm-run-all": "^4.1.5",
"prettier-plugin-tailwindcss": "^0.1.8",
"tailwindcss": "^3.0.23",
"tailwindcss": "^3.1.0",
"typescript": "^4.6.2"
},
"engines": {
Expand Down
1 change: 1 addition & 0 deletions examples/tailwindcss/tailwind.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ["./app/**/*.{ts,tsx,js,jsx}"],
theme: {
Expand Down

0 comments on commit 1521386

Please sign in to comment.