refactor: upgrade tailwindcss

This commit is contained in:
Liyas Thomas
2021-03-17 18:00:58 +00:00
committed by GitHub
parent 1042310038
commit 942b86c647
4 changed files with 3 additions and 7 deletions

View File

@@ -70,7 +70,7 @@
<img
v-if="fb.currentUser.photoURL"
:src="fb.currentUser.photoURL"
class="w-8 h-8 rounded-full material-icons"
class="w-6 h-6 rounded-full material-icons"
alt="Profile image"
/>
<i v-else class="material-icons">account_circle</i>

View File

@@ -201,6 +201,7 @@ export default {
// TailwindCSS module configuration (https://github.com/nuxt-community/tailwindcss-module)
tailwindcss: {
jit: true,
viewer: false,
},
// i18n module configuration (https://github.com/nuxt-community/i18n-module)

View File

@@ -8,7 +8,7 @@
<img
v-if="fb.currentUser.photoURL"
:src="fb.currentUser.photoURL"
class="w-8 h-8 rounded-full material-icons"
class="w-6 h-6 rounded-full material-icons"
/>
<i v-else class="material-icons">account_circle</i>
<span>

View File

@@ -5,11 +5,6 @@
** Default: https://github.com/tailwindcss/tailwindcss/blob/master/stubs/defaultConfig.stub.js
*/
module.exports = {
future: {
removeDeprecatedGapUtilities: true,
purgeLayersByDefault: true,
},
experimental: "all",
dark: "class",
corePlugins: {
float: false,