[Vuejs]-Vue.js SEO friendly

0👍

Since you’re using the vue-router, you’re able to utilize the meta property on the route: https://router.vuejs.org/guide/advanced/meta.html

From here on, you can define a title, description and whatmore, and then use them in your layout with the following syntax this.$router.currentRoute.meta.title

0👍

You can use vue-meta, for create custom meta tag (for SEO) on each componente that render in a page.

Leave a comment