skip to Main Content

I have a landing page build using Vue 2 with vue router and vue pwa.

When public to production, everything run okay but when i search my web in Google, results show only title page, content in noscript tag as description and when view cached version of my page Google show totally empty page.

But my web on production still run normal, full function and i definitely don’t disable Js in browser. I also tried use Google Search Console to request re-index my page but nothing change.

2

Answers


  1. Chosen as BEST ANSWER

    Disable prefetch and preload in vue.config.js resolved my problem.

    chainWebpack: config => {
      config.plugins.delete('preload')
      config.plugins.delete('prefetch')
    },
    

  2. Everything turned on in the server? Just had that happen today anyway what code you using to add the title and description. Looks like something may not be executing when the page loads.

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