Unverified Commit 48b3f8e8 authored by Vic Vijayakumar's avatar Vic Vijayakumar Committed by GitHub

Update with-tailwindcss example (#16370)

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.
parent 5a478b4e
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
"devDependencies": { "devDependencies": {
"postcss-flexbugs-fixes": "4.2.1", "postcss-flexbugs-fixes": "4.2.1",
"postcss-preset-env": "^6.7.0", "postcss-preset-env": "^6.7.0",
"tailwindcss": "^1.6.0" "tailwindcss": "^1.7.4"
}, },
"license": "MIT" "license": "MIT"
} }
module.exports = { module.exports = {
future: {
removeDeprecatedGapUtilities: true,
},
purge: ['./components/**/*.{js,ts,jsx,tsx}', './pages/**/*.{js,ts,jsx,tsx}'], purge: ['./components/**/*.{js,ts,jsx,tsx}', './pages/**/*.{js,ts,jsx,tsx}'],
theme: { theme: {
extend: { extend: {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment