Dapatkan url base vuej

var baseUrl = window.location.origin
Sergiu The Man