Add subdomain for Vue.js application

Assuming the Vue/Laravel app is completely separate from the WordPress site, the easiest and most basic way to achieve this is just to set the subdomain in your webhosting control panel, and point it to the directory on your webserver where you have uploaded the laravel app.

The webserver makes sure that all requests to subdomain.example.com get handled completely independently from the wordpress site.