All individual subscriptions are 50% off this week only!

Gabotronix
1 month ago

get url query string value with javascript

Posted 1 month ago by Gabotronix

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?

Please sign in or create an account to participate in this conversation.