[Vuejs]-Is it ok to place Microdata attributes on vuejs tags?

0👍

Take a look at https://ssr.vuejs.org/en/

Note that as of now, Google and Bing can index synchronous JavaScript
applications just fine. Synchronous being the key word there. If your
app starts with a loading spinner, then fetches content via Ajax, the
crawler will not wait for you to finish. This means if you have
content fetched asynchronously on pages where SEO is important, SSR
might be necessary.

If you render your content server side your schema.org tags will work, but if the content which contains your tag is rendered after an API request or other asynchronous actions then a search engine will not be able to see your tags.

Note: itemprop="@Model.Rating" is probably not going to do what you want, you probably want to :itemprop="@Model.Rating" or else you’re going to get the literal @Model.Rating as the value of itemprop.

Leave a comment