in VueJS

VueJS: Route Meta Data

You can add additional information to a specific route by giving it route meta data, this meta data can then be picked up by the router on the beforeEach() function so you can add additional code when setting up your routes. A good example of using the route meta data is to add a meta to certain routes that require authentication. To add meta information to a certain route it's very simple all you need to do is add a new meta property to the route object.

const rou

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