implementing my own defineHandler for my socket server
Does nuxt have helper func for me to load an entire directory, for example my WebSocket server has a lot of functionality now and I want to essentially replicate the “defineHandler” model for handling the different request / payloads in their own files
Or do I need to just write function to load them?
How can this be achieved so the directory is part of my bundle
Is this possible with nuxt’s auto import config
0 Replies