feat(tailwindcss): setup tailwindcss

This commit is contained in:
Christopher Astfalk
2020-05-25 12:11:39 +02:00
parent acebe5f11d
commit e829e0d614
6 changed files with 27 additions and 2 deletions
+1
View File
@@ -32,3 +32,4 @@ docs/types/
src/network/messages.json
*.map
.hoodie
src/styles.css
+6
View File
@@ -0,0 +1,6 @@
module.exports = {
plugins: [
require('tailwindcss'),
require('autoprefixer')
]
}
-2
View File
@@ -20,8 +20,6 @@ import { selectIsSignedIn } from './bundles/account'
import { selectOwnAvatarName } from './bundles/names'
import { selectIsLoggedIn } from './bundles/session'
import 'normalize.css'
export default function Root ({ store }) {
return (
<Provider store={store}>
+2
View File
@@ -5,6 +5,8 @@ import Root from './app'
import configureStore from './store/configureStore'
import registerServiceWorker from './registerServiceWorker'
import './styles.css'
const store = configureStore()
ReactDOM.render(
+5
View File
@@ -0,0 +1,5 @@
@tailwind base;
@tailwind components;
@tailwind utilities;
+13
View File
@@ -0,0 +1,13 @@
module.exports = {
purge: [
'./public/**/*.html',
'./src/components/**/*.js',
'./src/components/**/*.tsx',
'./src/components/**/*.jsx'
],
theme: {
extend: {}
},
variants: {},
plugins: []
}