rrd
rrd
NNuxt
Created by rrd on 9/23/2024 in #❓・help
Nuxt Devtools Plugin HTTP Proxy Error
I'm encountering an issue with my Nuxt devtools plugin. It works fine when I run yarn dev in the plugin's own project, but when I add it to a new Nuxt app and click on the tab my plugin added, I get the following error in my terminal:
ERROR http proxy error:
AggregateError [ECONNREFUSED]:
at internalConnectMultiple (node:net:1117:18)
at afterConnectMultiple (node:net:1684:7)
ERROR http proxy error:
AggregateError [ECONNREFUSED]:
at internalConnectMultiple (node:net:1117:18)
at afterConnectMultiple (node:net:1684:7)
And in the browser console:
GET http://localhost:3000/__vue-mess-detector 500 (Internal Server Error)
GET http://localhost:3000/__vue-mess-detector 500 (Internal Server Error)
Here is the repo: https://github.com/rrd108/vue-mess-detector-nuxt-devtools I've noticed that during development, the iframe source is localhost:3300/__vue-mess-detector. However, this URL seems to be unavailable in the project run. Is there a specific setting I might be missing?
2 replies
NNuxt
Created by rrd on 6/26/2024 in #❓・help
expose module's utility function
I've developed a Nuxt module that uses an internal utility function. I'd like to make this utility function accessible to end users of my module. How can I properly expose this function?
3 replies