may I ask how to install for nuxt3?
Thank you
Hey, @yashika!
You may try out these steps to achieve it:
-
Create preline.client.js in plugins directory
-
Add JavaScript insisde preline.client.js
import preline from 'preline/dist/hs-ui.bundle' export default defineNuxtPlugin(() => {})
- Include the preline plugin in tailwind.config.js in plugins array plugins: [ require('preline/plugin') ]
Done! Please, let us know if the above steps worked out for you.
Thanks!
Hey, @yashika!
You may try out these steps to achieve it:
- Create preline.client.js in plugins directory
- Add JavaScript insisde preline.client.js
import preline from 'preline/dist/hs-ui.bundle' export default defineNuxtPlugin(() => {})
- Include the preline plugin in tailwind.config.js in plugins array plugins: [ require('preline/plugin') ]
Done! Please, let us know if the above steps worked out for you.
Thanks!
Thank you so much. @green-cats green-cats

It works well in ' yarn dev' mode. but I got below warnning message after I ran "yarn build" , please check it.
Hey @yashika ,
Glad to hear that it worked! We've just pushed an update (v1.1.1) which includes fix for this scenario.
Run yarn upgrade preline to update the preline libirary and all should work as expected.
Thanks!