[Vuejs]-How to get params id get in external js file 14 October 2023 by thecoderscamp.com 0๐ I think you could use URLSearchParams (read more about it here) and URL (read more here) const url = new URL(window.location.href); const searchParams = new URLSearchParams(url.searchParams); console.log(searchParams.has('id')); console.log(searchParams.get('id')); [Vuejs]-Format problems in Vue project [Vuejs]-How to change the font in tables? setFont() only changes the title font Source:stackexchange.com