ERROR Importing directly from a nuxt.config file is not allowed.
See original GitHub issueHow to bypass that error?
ERROR Importing directly from a nuxt.config file is not allowed. Instead, use runtime config or a module. [importing /nuxt.config.js from index.html]
Issue Analytics
- State:
- Created 2 years ago
- Comments:15
Top Results From Across the Web
ERROR Importing directly from a nuxt.config file is not allowed.
How to bypass that error? ERROR Importing directly from a nuxt.config file is not allowed. Instead, use runtime config or a module.
Read more >Fix: Nuxt 3 nuxt.config file is not allowed - Tailwind CSS
How to fixed Importing directly from a nuxt. config file is not allowed. Instead, use runtime config or a module. [ importing /...
Read more >Problems with importing and using json file in nuxt.config.js
If I have server-middleware. js file that I import into nuxt. config. js it works only on server side and not on client...
Read more >Nuxt configuration file
Nuxt configuration file. By default, Nuxt is configured to cover most use cases. This default configuration can be overwritten with the nuxt.config.js file....
Read more >Release Notes - Nuxt.js
The well-known problem is with firebase package that requires to manually install node-fetch dependency in your project. Reverting breaking changes. We ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I think I have found the error on my end: I had
"./nuxt.config.{js,ts}",
in mytailwind.config.js
. You may wonder why it is there, and here is the reason.I removed the line and the error disappeared.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.