-
Notifications
You must be signed in to change notification settings - Fork 607
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
refactor(module): provide tailwind config through template #1272
Conversation
The latest updates on your projects. Learn more about Vercel for Git βοΈ
|
If we update |
Minor gotcha: |
@ineshbose I'm getting this when trying to run the docs locally: |
sure, give me a sec - testing it on my end. |
@benjamincanac seems OK on my end - but the traceback goes to const { resolve } = createResolver(import.meta.url) I looked over at our |
The traceback goes to |
You're able to run the docs propertly on |
I am - very odd!
This should definitely be the case though right, as Nuxt projects as ESM. |
Does this mean that everyone using |
Are you able to run |
No, it is unlikely to hit this error; just referring to Nuxt starter templates, they would/should have it specified. https://github.com/nuxt/starter/blob/module/package.json#L7 |
Yes - works on both my Ubuntu environment and Windows. Some local change...? |
No I don't have local changes, it's coming from this: https://github.com/nuxt/ui/blob/dev/src/tailwind.ts#L12. If I checkout the commit right before, everything's fine. |
Adding |
trying on my macbook now.. |
it's working π€ Can you send the output of |
I don't get it. Are you running the docs from the rootDir with |
From root, yes, after doing |
We can use something else in |
Was this PR not working before being merged? |
Ok, I fixed it by restarting my mac, I'm so confused π Sorry about that! |
@ineshbose The error comes back after some time everytime I restart, will try to refactor this it's too painful. |
Okay let me know. |
β Type of change
π Description
@nuxtjs/tailwindcss@^6.11.1
.@nuxtjs/tailwindcss
(planned for 6.12.0); refer refactor: first class HMR supportΒ nuxt-modules/tailwindcss#795