Nuxt+express, the difference between writing next.render in express and matching in next.config.js

after entering the configuration discovery, you can run express as the middleware of nuxt, that is, configure serverMiddleware. Start the project with nuxt itself;
can also run nuxt as middleware for express, that is, add next.render to the express entry. Start with node entry .js.

what is the difference between the two methods?

May.04,2022
Menu