Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[vue] 使用vue后怎么针对搜索引擎做SEO优化? #552

Open
haizhilin2013 opened this issue Jul 2, 2019 · 9 comments
Open

[vue] 使用vue后怎么针对搜索引擎做SEO优化? #552

haizhilin2013 opened this issue Jul 2, 2019 · 9 comments
Labels
vue vue

Comments

@haizhilin2013
Copy link
Collaborator

[vue] 使用vue后怎么针对搜索引擎做SEO优化?

@haizhilin2013 haizhilin2013 added the vue vue label Jul 2, 2019
@AFlies
Copy link

AFlies commented Jul 2, 2019

使用服务端渲染,vue官方推荐nuxt.js

@encountermm
Copy link

  • ssr,即单页面后台渲染

  • vue-meta-info 与prerender-spa-plugin 预渲染

  • nuxt

  • phantomjs

@censek
Copy link

censek commented Oct 8, 2019

@haizhilin2013
Copy link
Collaborator Author

@censek 要能用自己的话来总结就非常棒了

@wush12
Copy link

wush12 commented Nov 5, 2019

vue是单页面应用,meta固定了,js动态修改meta爬虫也是爬不到的。
可以使用nuxt,但是nuxt部署有一定局限性,需要服务器配置node环境。

@webpushsky
Copy link

1.SSR服务器渲染;
2.静态化;
3.预渲染prerender-spa-plugin;
4.使用Phantomjs针对爬虫做处理。

@Ankhyang
Copy link

Ankhyang commented Mar 4, 2021

  1. 使用预渲染prerender-spa-plugin
  2. TDK描叙详细,不重复,使用了vue-meta-info 管理网站的meta
  3. 合理使用标题h1-h6,链接可以使用router-link或者a标签, 图片设置alt属性等

@ygh1
Copy link

ygh1 commented Feb 9, 2022

  1. 预渲染是一种方案
  2. nuxtjs或者自己搭建ssr服务
  3. 或者使用 BFF架构,将需要SEO的部分中间层返回

@sc950828
Copy link

keys,description

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
vue vue
Projects
None yet
Development

No branches or pull requests

9 participants