Skip to content

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

Open
@haizhilin2013

Description

@haizhilin2013
Collaborator

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

Activity

AFlies

AFlies commented on Jul 2, 2019

@AFlies

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

encountermm

encountermm commented on Jul 15, 2019

@encountermm
  • ssr,即单页面后台渲染

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

  • nuxt

  • phantomjs

haizhilin2013

haizhilin2013 commented on Oct 8, 2019

@haizhilin2013
CollaboratorAuthor

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

wush12

wush12 commented on Nov 5, 2019

@wush12

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

webpushsky

webpushsky commented on Jan 17, 2020

@webpushsky

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

Ankhyang

Ankhyang commented on Mar 4, 2021

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

ygh1 commented on Feb 9, 2022

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

sc950828 commented on Sep 24, 2022

@sc950828

keys,description

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @haizhilin2013@webpushsky@ygh1@encountermm@sc950828

        Issue actions

          [vue] 使用vue后怎么针对搜索引擎做SEO优化? · Issue #552 · haizlin/fe-interview