Open adiramardiani opened 2 months ago
There are currently no declared types in this package. To remove the error, I do the following:
import type { Config } from 'tailwindcss'
// @ts-expect-error no declared types at this time
import primeui from 'tailwindcss-primeui'
export default <Partial<Config>>{
darkMode: 'class',
corePlugins: {
preflight: false,
},
plugins: [primeui],
}
Solution is temporary, when the types show up, then I'll just delete the comment
First congrats for release this plugin.
I don't know this is ES6 (because this is project requirement), nuxt or typescript issue, but I try to use your plugin on latest nuxt release I'm using nuxt-tailwind module, and the config on tailwind.config.ts, here my script :
But give me error![image](https://github.com/primefaces/tailwindcss-primeui/assets/8703419/44bd48ad-ba61-4ff9-97b1-8e4aea210f7e)
Is my implementation is wrong ?