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

fix: add tailwindcss types #462

Merged
merged 1 commit into from May 2, 2022
Merged

fix: add tailwindcss types #462

merged 1 commit into from May 2, 2022

Conversation

yassilah
Copy link
Contributor

Currently importing the resolved config from #tailwind-config throws an error using TypeScript since the config file is not being written. This PR adds @types/tailwindcss and writes a simple .d.ts to the .nuxt folder to provide config types.

Before
Capture d’écran 2022-04-22 à 09 06 54

After
Capture d’écran 2022-04-22 à 09 07 53

@Atinux Atinux merged commit 379c816 into nuxt-modules:main May 2, 2022
@genu
Copy link
Contributor

genu commented Jul 25, 2022

@types/tailwindcss is now deprecated because tailwindcss provides its own type definitions

I think this PR could be safely reversed?

@genu
Copy link
Contributor

genu commented Jul 25, 2022

Create a PR that removes the dependency #514

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

Successfully merging this pull request may close these issues.

None yet

3 participants