Static GitHub Issues

[1634] Deploying SSR nuxt.js on Firebase Cloud Function

prev: nuxtjs with electron `loadURL` is slow
next: If the routing rewrite in the middleware

I started from nuxt-community/express-template which seamlessly integrated with express.

But issue transforming into Firebase is that all could functions need to be converted into single method. Next.js could be done nicely. In Nuxt.js, it is not possible to use nuxt.render middleware which use this.options.buildDir to dynamically access .nuxt file.

Is an option to pre-compile all file I need with nuxt?

<!--cmty--><!--cmty_prevent_hook--><div align="right"><sub><em>This question is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c1461">#c1461</a>)</em></sub></div>