This article covers subdomains routing implementation using Nuxt.js and @nuxtjs/router.
Let’s say you want to create a multi-tenants app, something similar to heroku, or google app engine service. You can implement some custom path for each service, so they will look something like this:
Or you can implement it with subdomains approach:
As you can see, the second approach is way more customer friendly, because all service related data is being encapsulated inside this custom subdomain. Not mentioning how easy it will be to assign a custom domain to any of the subdomains.
Developer / entrepreneur