Open motion-work opened 1 month ago
Hi, are you using @nuxtjs/tailwindcss
?
Also got a build error, now after upgrading to nuxt 3.14.0
I'm using Nuxt UI
[unhandledRejection] Cannot read properties of undefined (reading 'prefix') 2:46:37 PM
at extract (node_modules/fluid-tailwind/dist/index.js:15430:43)
at node_modules/@nuxtjs/tailwindcss/dist/module.mjs:135:18
at _defu (node_modules/defu/dist/defu.mjs:31:19)
at _defu (node_modules/defu/dist/defu.mjs:37:21)
at node_modules/defu/dist/defu.mjs:52:33
at Array.reduce (<anonymous>)
at node_modules/defu/dist/defu.mjs:52:16
at configMerger (node_modules/@nuxtjs/tailwindcss/dist/module.mjs:138:5)
at configs.reduce.configMerger.content.files (node_modules/@nuxtjs/tailwindcss/dist/module.mjs:249:23)
at Array.reduce (<anonymous>)
got it when running npm run dev
.
@motion-work I can't reproduce this locally on Nuxt 3.13.2. Would you be able to provide a reproduction?
I installed this package in my nuxt 3 (v3.13.2) but after building and serving the site I am getting this error:
in my tailwind.config.js:
import fluid, { extract, screens } from 'fluid-tailwind'
When I run
yarn dev
it works as expected. Any idea why and how to solve this issue?