css not applying on build mode
im having a little bad problem, can someone help me? it was working fine today in the morning. im using tailwind and @apply bg-color on body in css, works fine in dev mode, but in prod the background stays white. using vercel to host too.
cant build and preview too
body {
@apply bg-gray-900;
@apply text-white;
}
btw: Error 500 Cannot find module .output/server/node_modules/vue/server-renderer/index.mjs imported from /.output/server/chunks/routes/renderer.mjs when nuxt build and nuxt preview
using:
"dependencies": {
"@nuxt/icon": "^1.4.5",
"@nuxt/image": "^1.7.0",
"@unocss/preset-rem-to-px": "^0.62.1",
"animate.css": "^4.1.1",
"nuxt": "^3.12.4",
"vue": "latest",
"vue-tippy": "^6.4.4"
},
"packageManager": "yarn@4.4.0",
"devDependencies": {
"@unocss/nuxt": "^0.62.1",
"dayjs-nuxt": "^2.1.9",
"nuxt-aos": "^1.2.5"
}
cant build and preview too
body {
@apply bg-gray-900;
@apply text-white;
}
btw: Error 500 Cannot find module .output/server/node_modules/vue/server-renderer/index.mjs imported from /.output/server/chunks/routes/renderer.mjs when nuxt build and nuxt preview
using:
"dependencies": {
"@nuxt/icon": "^1.4.5",
"@nuxt/image": "^1.7.0",
"@unocss/preset-rem-to-px": "^0.62.1",
"animate.css": "^4.1.1",
"nuxt": "^3.12.4",
"vue": "latest",
"vue-tippy": "^6.4.4"
},
"packageManager": "yarn@4.4.0",
"devDependencies": {
"@unocss/nuxt": "^0.62.1",
"dayjs-nuxt": "^2.1.9",
"nuxt-aos": "^1.2.5"
}


