<!DOCTYPE html><html><head><title>Vue JS - Get Query Parameters Example - ItSolutionStuff.com</title><script src="https://cdn.jsdelivr.net/npm/vue"></script><script src="https://unpkg.com/vue-router"></script></head><body><div id="app"></div><script type="text/javascript">var router = new VueRouter({mode: 'history',routes: []});var myApp = new Vue({router,el: '#app',mounted: function() {parameters = this.$route.queryconsole.log(parameters)name = this.$route.query.nameconsole.log(name)},});</script></body></html>
Wednesday, November 20, 2019
vue js : Vue JS - Get Query String Parameters Example
Subscribe to:
Post Comments (Atom)
-
Composer is a major part of the Laravel MVC Framework, but it also exists without Laravel. In fact you could use it in any project. This a...
-
How to Answer Technical Questions Like a Pro Answering technical interview questions is all about showing off your problem-solving skills an...
-
Vuetify is a popular UI framework for Vue apps. In this article, we’ll look at how to work with the Vuetify framework. Color Picker Inputs W...
No comments:
Post a Comment