mirror of
https://github.com/Terreii/andromeda-viewer.git
synced 2026-08-14 00:57:49 +00:00
feat(tailwindcss): setup tailwindcss
This commit is contained in:
@@ -32,3 +32,4 @@ docs/types/
|
||||
src/network/messages.json
|
||||
*.map
|
||||
.hoodie
|
||||
src/styles.css
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
module.exports = {
|
||||
plugins: [
|
||||
require('tailwindcss'),
|
||||
require('autoprefixer')
|
||||
]
|
||||
}
|
||||
@@ -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}>
|
||||
|
||||
@@ -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(
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
@tailwind base;
|
||||
|
||||
@tailwind components;
|
||||
|
||||
@tailwind utilities;
|
||||
@@ -0,0 +1,13 @@
|
||||
module.exports = {
|
||||
purge: [
|
||||
'./public/**/*.html',
|
||||
'./src/components/**/*.js',
|
||||
'./src/components/**/*.tsx',
|
||||
'./src/components/**/*.jsx'
|
||||
],
|
||||
theme: {
|
||||
extend: {}
|
||||
},
|
||||
variants: {},
|
||||
plugins: []
|
||||
}
|
||||
Reference in New Issue
Block a user