-
Notifications
You must be signed in to change notification settings - Fork 4
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
Is this plugin compatible for ES6 or Typescript support ? #1
Comments
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 |
+1 for declared types please. I know V4 and this plugin is new, but PrimeVue advertises itself as having |
Planned to be rewritten with typescript in 0.5.0. This plugin started as a POC for PrimeFlex replacement and now got the green light to be a top level Prime project. |
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
Is my implementation is wrong ?
The text was updated successfully, but these errors were encountered: