May Sale! All accounts are 40% off this week.

Gabotronix's avatar

get url query string value with javascript

Hi everybody, I have a laravel-vue app where after a vue component is mounted I want to chek if the url has the a given query string parameter and its value, for example given this url:

/?show-login-form=1

On compoennt mounted I want to check if url is login-form == true, how would you approach this situation?

0 likes
1 reply

Please or to participate in this conversation.