Hi there, I tried the nuxt generate command with nested routes example https://nuxtjs.org/examples/nested-routes . I mades sure the generate: { routes: ... } option correctly as mentioned here https://nuxtjs.org/api/configuration-generate#the-generate-property .
But when we try to run python -m SimpleHTTPServer under dist/1/ or dist/2/ I get missing assets. But when we run server from dist/ folder it works correctly.
Is it possible to customise this behaviour and directly run and serve from child folder dist/1/ etc. So that if we have multiple folders under dist directory, we can serve them on different domain like <user-id>.drivem7.com.
I looked at generator.js file here https://github.com/nuxt/nuxt.js/blob/dev/lib/builder/generator.js . Is it possible to have custom generation process. The documentation says that we can define hooks to nuxt generate but don't where to define them either in nuxt.config.js or under plugins folder, by creating a new file.