How to Require tailwind plugins in a Nuxt Module

From the above, what's the proper way?
I've tried to just add the plugins field:
https://github.com/jcmsj/daisyui-nuxt/blob/main/src/module.ts#L48

based on the authoring guide:
https://nuxt.com/docs/guide/going-further/modules#using-other-modules-in-your-module

I thought I got it right since it was working in the playground (see image) and I was using it in a separate project for the past week.
But today it suddenly fails to run in any project if using the npm registry. The 0.06 release was one of my attempts.

Reproduction:
https://codesandbox.io/p/devbox/wizardly-farrell-c72g9k

I can't seem to find examples of using a tailwind plugin either.

Thanks in advance!
image.png
GitHub
A Nuxt module for daisyUI. Contribute to jcmsj/daisyui-nuxt development by creating an account on GitHub.
Was this page helpful?