[Vuejs]-Vue dynamic add meta data to inner components

0👍

A single page application isn’t great for search engines. But if you don’t want the hassle of moving your current vue project to another framework such as Nuxt.js, id recommend using vue-meta to add the meta tags to each page in your route, and the vue-prerender spa plugin, to build the static html files for search engines to scan the meta data of each page:

vue-meta:
https://www.npmjs.com/package/vue-meta

vue-prerender:
https://github.com/chrisvfritz/prerender-spa-plugin

Leave a comment