skip to Main Content

What’s the easiest way to make an already developed Vue app SEO friendly (with all the header meta-tags readable by search engines).

I’ve looked into NUXT, I’ll have to re-build the whole thing again, plus i didn’t really like the way NUXT works except for the SSR (Server Side Rendering) part.

2

Answers


  1. 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

    Login or Signup to reply.
  2. You can use vue-meta, for create custom meta tag (for SEO) on each componente that render in a page.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search