Skip to content

Commit

Permalink
Update with-tailwindcss example (#16370)
Browse files Browse the repository at this point in the history
Updated `examples/with-tailwindcss` to the newest TailwindCSS, and opted in to future-facing breaking changes.

Also created a jsconfig.json so that files can be imported without traversing up relative paths.
  • Loading branch information
needcaffeine authored Aug 27, 2020
1 parent 5a478b4 commit 48b3f8e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion examples/with-tailwindcss/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"devDependencies": {
"postcss-flexbugs-fixes": "4.2.1",
"postcss-preset-env": "^6.7.0",
"tailwindcss": "^1.6.0"
"tailwindcss": "^1.7.4"
},
"license": "MIT"
}
3 changes: 3 additions & 0 deletions examples/with-tailwindcss/tailwind.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
module.exports = {
future: {
removeDeprecatedGapUtilities: true,
},
purge: ['./components/**/*.{js,ts,jsx,tsx}', './pages/**/*.{js,ts,jsx,tsx}'],
theme: {
extend: {
Expand Down

0 comments on commit 48b3f8e

Please sign in to comment.