Serverless functions and vue js