N
N
Nikita Kudinov2020-09-28 14:34:09
Vue.js
Nikita Kudinov, 2020-09-28 14:34:09

Why is Schema.org markup not showing up in Vue.js?

Incorporated Schema.org micro-markup into a Vue.js component. I went to check on the validators, Yandex does not see at all, Google sees the fact of presence, but does not see the note elements. I went to check what code they see and analyze. I find almost empty html markup, where there is a div with id app, and that's it. How to make validators see everything after loading?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alex, 2020-09-28
@Kozack Vue.js

Because the server returns an empty page (what bots see) and the interface is already regenerated on the client using JavaScript. In order for bots to see the interface, it is desirable to generate it on the server and then send it to the browser.
Read about Server Side Rendering Vue

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question