summaryrefslogtreecommitdiff
path: root/examples/with-tailwindcss
diff options
context:
space:
mode:
authorGravatar Abdullah Mzaien <xa300600@hotmail.com> 2021-12-16 20:36:48 +0300
committerGravatar GitHub <noreply@github.com> 2021-12-16 11:36:48 -0600
commitbb52818ebea1daa3c802fcd3d3b37472237201a2 (patch)
treebd394cfcfd23dd3d2c297187adc7ba3f312bacbf /examples/with-tailwindcss
parent3f3eceb16be0a6e0dd69720e6eb1ca22f25f6661 (diff)
downloadastro-bb52818ebea1daa3c802fcd3d3b37472237201a2.tar.gz
astro-bb52818ebea1daa3c802fcd3d3b37472237201a2.tar.zst
astro-bb52818ebea1daa3c802fcd3d3b37472237201a2.zip
chore: update tailwind to v3 and update the readme (#2209)
using `.cjs` for file extensions chore: update tailwind to v3 and update the readme
Diffstat (limited to 'examples/with-tailwindcss')
-rw-r--r--examples/with-tailwindcss/package.json2
-rw-r--r--examples/with-tailwindcss/tailwind.config.js3
2 files changed, 2 insertions, 3 deletions
diff --git a/examples/with-tailwindcss/package.json b/examples/with-tailwindcss/package.json
index edd6027d2..b00237f8c 100644
--- a/examples/with-tailwindcss/package.json
+++ b/examples/with-tailwindcss/package.json
@@ -11,6 +11,6 @@
"devDependencies": {
"astro": "^0.21.12",
"autoprefixer": "^10.4.0",
- "tailwindcss": "^2.2.19"
+ "tailwindcss": "^3.0.5"
}
}
diff --git a/examples/with-tailwindcss/tailwind.config.js b/examples/with-tailwindcss/tailwind.config.js
index d9b35bc31..627a00ab2 100644
--- a/examples/with-tailwindcss/tailwind.config.js
+++ b/examples/with-tailwindcss/tailwind.config.js
@@ -1,4 +1,3 @@
module.exports = {
- mode: 'jit',
- purge: ['./src/**/*.{astro,html,js,jsx,svelte,ts,tsx,vue}'],
+ content: ['./src/**/*.{astro,html,js,jsx,svelte,ts,tsx,vue}'],
};