johnk
Explore posts from serversHow would I listen for a websocket message in Nuxt 3, for user initiated notifications to users?
Hello, as the title described, I have a websocket server, and I would like users to send notifications to eachother and listen for notifications. How would I do this? There's not any utilities I can use in a typical nuxt plugin. Thank you!
3 replies
Type is completely ignored in generated mjs, causes Nuxt #imports issues
Hello, I am using nuxt-open-fetch and all was going well. However it randomly started breaking, and I found out it is because the OpenFetchClient type is completely ignored in the generated .mjs. First, in the nuxt console, I get this error
, then in the browser console I get this error . In the server it has the proper export of , but in the browser, fetch.mjs has the content of just What do I do to make sure OpenFetchClient is kept in the generated .mjs?
2 replies