alihoushyaripour's avatar

crawlers are not wait to vuejs render complete

Hi

I write a multi page website using pure vue-js and html and not vue-cli, but when google crawler want to crawl every page content, show me error for {{ }} brakets and was indexed content before vue-js render complete.

How can I resolve it ?

If should I write my website using vue-cli ? or exist any way ?

0 likes
5 replies
Robstar's avatar

Sorry, no idea what you're trying to, have tried, or what the issue is. At the very least, can you tell us what your error was?

ftiersch's avatar

I don't think the vue-cli will help here. The website will be HTML and JS anyway.

That's the problem with JS websites -> you can't really guarantee what the crawler will execute and what not.

michalurva's avatar

Hard to tell, but something is probably wrong. I didn't had problem with indexing of my pages created in vue.

I am not using it but one solution may be to use SSR (Server-Side Rendering)

Take a look at https://vuejs.org/v2/guide/ssr.html

click's avatar

Can't give you a solution to your problem but if you want to see how Google sees your page try Search Console. https://search.google.com/search-console.

Not sure if this is the quickest way to get there but...

  1. Type in the top of the page (Where it says: "inspect any URL...") your url
  2. Click in the right top corner 'Live Test'
  3. Click on the result page on 'View Tested Page'.
  4. A sidebar opens, click on the 'screenshot tab'.

You should see a screenshot on how google indexes your page. It could help out figuring things out SEO related.

Please or to participate in this conversation.