Gabotronix
8 months ago
238
1
General

get url query string value with javascript

Posted 8 months 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.