We have been making Nuxt apps for single domains. Our server-side APIs have been tightly coupled with Nuxt since Chapter 8, Adding a Server-Side Framework, in which we used Koa as the server-side framework and API for handling and serving data for the Nuxt apps. If you take a look back in /chapter-8/nuxt-universal/koa-nuxt/ in our GitHub repository, you should remember we have kept our server-side programs and files in the /server/ directory. We have also kept our package/module dependencies in one package.json file and installed them in the same /node_modules/ directory. It can be confusing eventually, when our apps get larger, mixing the module dependencies for two frameworks (Nuxt and Koa) in the same package.json file. It can make the debugging process harder too. So separating our single app that's made of Nuxt and Koa (or any other server-side frameworks, such as Express) into two individual apps probably is better...





















































