vuejs 应用程序如何出现在谷歌搜索结果中?
I have a VueJs application
The server returns
and I'm able to see my website listed on google
How it is possible?
As far as I understood Google will not be able to show if the website doesn't have the right tags
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Google能够解析任何水疗中心(即使是,它也不会为JS提供最佳排名)。
在您的第一个屏幕截图中,我们可以看到您正在加载
index.js
file(您的VUE应用程序),因此,如果您将其托管 +在URL上播放,则如 https://musiccart.store/ ,是的,YEP Google会抓取它并将其提供给所有人。不确定您的意思是标签,但默认情况下:Google不再需要爬网的网站。
您可以使用a robots.txt file 密码(或在Netlify上的偷偷摸摸的URL预览后面)。
Google is able to parse any SPA (even tho, it will not give the best rankings for something JS only).
In your first screenshot we can see that you're loading an
index.js
file (your Vue app), so if you have it hosted + exposed on a URL like https://musiccart.store/, yep Google will crawl it and make it available to everybody.Not sure what you mean by tags, but by default: nothing more is required by Google to crawl your website.
You could have used a robots.txt file or host it somewhere protected with a password (or just behind a sneaky URL preview like on Netlify).