-
Notifications
You must be signed in to change notification settings - Fork 183
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
Cannot use tailwind config on app.config
#794
Comments
Valid issue. Thanks for reporting and providing a reproduction; let me investigate and get back to you. 🙂 |
I want to investigate this further, but I've added a workaround if you'd like to test on nightly release, set |
Hi @ineshbose, I have tested the nightly release however the issue still exists. I pasted the linux and windows logs below to help. Thanks for your time! Linux[08:06:08] ERROR [worker reload] [worker init] Directory import '/home/projects/github-aowrfw/.nuxt/tailwind.config' is not supported resolving ES modules imported from /home/projects/github-aowrfw/.nuxt/dev/index.mjs at _node_internal (https://githubaowrfw-fuki.w-credentialless.staticblitz.com/blitz.babcaeac.js:36:5406) Windows[08:05:24] ERROR [worker reload] [worker init] Only URLs with a scheme in: file, data, and node are supported by the default ESM loader. On Windows, absolute paths must be valid file:// URLs. Received protocol 'c:' at __node_internal_captureLargerStackTrace (node:internal/errors:496:5) |
I forgot to mention that after you use |
This works well, thanks! |
Version
@nuxtjs/tailwindcss: v6.10.4
nuxt: v3.9.1
Reproduction Link
https://stackblitz.com/edit/github-aowrfw?file=nuxt.config.ts
Steps to reproduce
Run the application
npm run dev
and check the terminal.What is Expected?
The application should start and the tailwind configuration accessible on
app.config
file.What is actually happening?
The application failed to start and the error below is thrown. This only applies to
app.config
and not when importing from vue components.The text was updated successfully, but these errors were encountered: