feat: add TailwindCSS
This commit is contained in:
parent
c5057c5cf6
commit
1188d24fd8
11 changed files with 410 additions and 71 deletions
6
packages/config/package.json
Normal file
6
packages/config/package.json
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"name": "config",
|
||||
"version": "0.0.0",
|
||||
"dependencies": {}
|
||||
}
|
||||
|
||||
7
packages/config/postcss.config.js
Normal file
7
packages/config/postcss.config.js
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
postcss.config.js
|
||||
module.exports = {
|
||||
plugins: {
|
||||
tailwindcss: {},
|
||||
autoprefixer: {}
|
||||
}
|
||||
}
|
||||
10
packages/config/tailwind.config.js
Normal file
10
packages/config/tailwind.config.js
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
module.exports = {
|
||||
content: [
|
||||
'../../packages/ui/components/**/*.{ts,tsx}',
|
||||
'./src/**/*.{ts,tsx}'
|
||||
],
|
||||
theme: {
|
||||
extend: {}
|
||||
},
|
||||
plugins: []
|
||||
}
|
||||
1
packages/ui/postcss.config.js
Normal file
1
packages/ui/postcss.config.js
Normal file
|
|
@ -0,0 +1 @@
|
|||
module.exports = require('config/postcss.config')
|
||||
1
packages/ui/tailwind.config.js
Normal file
1
packages/ui/tailwind.config.js
Normal file
|
|
@ -0,0 +1 @@
|
|||
module.exports = require('config/tailwind.config')
|
||||
Reference in a new issue