Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build error when using it with nuxt 3 #50

Open
motion-work opened this issue Oct 16, 2024 · 0 comments
Open

Build error when using it with nuxt 3 #50

motion-work opened this issue Oct 16, 2024 · 0 comments

Comments

@motion-work
Copy link

I installed this package in my nuxt 3 (v3.13.2) but after building and serving the site I am getting this error:

[nuxt] [request error] [unhandled] [500] fluid is not a function
  at ./.output/server/chunks/build/server.mjs:10284:13
  at ModuleJob.run (node:internal/modules/esm/module_job:234:25)
  at async ModuleLoader.import (node:internal/modules/esm/loader:473:24)
  at async ./.output/server/chunks/routes/renderer.mjs:149:24
  at async ./.output/server/chunks/routes/renderer.mjs:240:64
  at async Object.handler (./.output/server/chunks/routes/renderer.mjs:20:22)
  at async Object.handler (./.output/server/chunks/runtime.mjs:3167:19)
  at async Server.toNodeHandle (./.output/server/chunks/runtime.mjs:3438:7)

in my tailwind.config.js:
import fluid, { extract, screens } from 'fluid-tailwind'

  plugins: [
    fluid({
      checkSC144: false,
    }),
  ],

When I run yarn dev it works as expected. Any idea why and how to solve this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant