Update nuxtjs/tailwindcss and update tailwind config

This commit is contained in:
advplyr 2024-01-01 10:19:55 -06:00
parent 1c89d33726
commit 69fbfa4b33
4 changed files with 1977 additions and 1831 deletions

View file

@ -2,6 +2,7 @@ const pkg = require('./package.json')
export default {
ssr: false,
target: 'static',
env: {
PROD: '1',

3788
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -44,8 +44,7 @@
"@babel/core": "7.13.15",
"@babel/preset-env": "7.13.15",
"@capacitor/cli": "^5.0.0",
"@nuxtjs/tailwindcss": "^4.2.1",
"postcss": "^8.3.5",
"tailwindcss": "^3.3.2"
"@nuxtjs/tailwindcss": "^6.10.3",
"postcss": "^8.3.5"
}
}

View file

@ -1,13 +1,13 @@
const defaultTheme = require('tailwindcss/defaultTheme')
module.exports = {
content: {
safelist: [
'bg-success',
'bg-info',
'text-info'
]
},
content: [
'components/**/*.vue',
'layouts/**/*.vue',
'pages/**/*.vue',
'mixins/**/*.js',
'plugins/**/*.js'
],
theme: {
extend: {
screens: {