Deploying 2 different frameworks under the same domain/routes (same app)

Hi @alexandru.avora,

I believe this is possible, but not easily - at least till the migration to Vue completes, but it still depends on your configuration.

I’d recommend deploying two sites, 1 for each framework. Then, you can use Netlify rewrites to rewrite each path for your app to the correct destination.

For example, you’ve 10 features, feature 1, 3, 5, 7, 9 are built in Angular and the rest are in Vue. Considering that your homepage is built in Vue, you’d create a site and connect your domain to the Vue site. In that site, you’d add the following redirects:

/feature/1 https://your-angular-site.netlify.app/feature/1 200!
/feature/3 https://your-angular-site.netlify.app/feature/3 200!
/feature/5 https://your-angular-site.netlify.app/feature/5 200!
/feature/7 https://your-angular-site.netlify.app/feature/7 200!
/feature/9 https://your-angular-site.netlify.app/feature/9 200!
/* /index.html 200

The last one is required by Vue to handle client-side navigation.

If you’ve a programmatic way of determining which route needs to go to which app, you can also take a look at Netlify Edge Functions.