in VueJS

VueJS: Vue Router Reacting To Route Changes

The the last example we learnt how to create dynamic routes in VueJs. This allows you to have the same component be reused on multiple page, for example if we create a Blog post component that needs to search for the blog information from an API it will something like this.

const Blog = { template: '...', data: { blogPost: [] }, created: function () { this.fetchData() }, methods: { fe

Upgrade to access all content on Paulund

Members unlock all tutorials and snippets

Access to all downloadable content

Access to code examples before others

Sign Up Now

Already a member? Login here

Subscribe To The Weekly Newsletter

Get weekly updates to your email