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

nuxt.hook('tailwindcss:config') hooks dont working #785

Closed
productdevbook opened this issue Dec 29, 2023 · 5 comments
Closed

nuxt.hook('tailwindcss:config') hooks dont working #785

productdevbook opened this issue Dec 29, 2023 · 5 comments
Labels
question Further information is requested

Comments

@productdevbook
Copy link

productdevbook commented Dec 29, 2023

The issue was discussed here. The solution is there. nuxt/nuxt#24943

solution: nuxt/nuxt#24943 (comment)

@productdevbook productdevbook added the bug Something isn't working label Dec 29, 2023
@ineshbose
Copy link
Collaborator

Is this not because you have registered the hook after the module?
nuxt/nuxt#24943 (comment)

Using modules:done is a way but I don't think it'll give any benefit, but delay creating the resolved config and templates.

@productdevbook
Copy link
Author

productdevbook commented Dec 29, 2023

code

I am using it here in my own module. and console.log absolutely cannot see

@ineshbose
Copy link
Collaborator

Move it before line 176 and give it a go?

@productdevbook
Copy link
Author

productdevbook commented Dec 29, 2023

Move it before line 176 and give it a go?

yes, it is working. ❤️ But why ?

cc: @danielroe

@ineshbose
Copy link
Collaborator

Move it before line 176 and give it a go?

yes, it is working. ❤️ But why ?

Yes, same thing as the module ordering. You first register the hook, and then you install module that'll call the hook(s). 🙂

@ineshbose ineshbose added question Further information is requested and removed bug Something isn't working labels Dec 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants