Skip to content

Commit e53afd1

Browse files
authored
feat: support Tailwind CSS 3 (#112)
1 parent 396419d commit e53afd1

File tree

12 files changed

+3072
-18123
lines changed

12 files changed

+3072
-18123
lines changed

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,7 @@ Example config with `jit` enabled:
4444
// tailwind.config.js
4545

4646
module.exports = {
47-
mode: 'jit',
48-
purge: [
47+
content: [
4948
'./app/**/*.{css,xml,html,vue,svelte,ts,tsx}'
5049
],
5150
darkMode: false, // or 'media' or 'class'

build.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,5 @@ fs.readFile(inputFile, (err, css) => {
2929
}
3030
return result
3131
})
32-
.then(result => {
33-
console.log('Built.')
34-
})
32+
.then(() => console.log('Built.'))
3533
})

demo/app/app.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
@tailwind components;
2-
@tailwind utilities;
2+
@tailwind utilities;

0 commit comments

Comments
 (0)