8000 官放文档例子中的小问题 · Issue #300 · vuejs/vue2-ssr-docs · GitHub
[go: up one dir, main page]

Skip to content
< 10000 /react-partial>
官放文档例子中的小问题 #300
Open
@notomorow

Description

@notomorow

'https://ssr.vuejs.org/zh/guide/#%E5%AE%8C%E6%95%B4%E5%AE%9E%E4%BE%8B%E4%BB%A3%E7%A0%81' 这里代码中写的是metas:

const context = {
    title: 'vue ssr',
    metas: `
        <meta name="keyword" content="vue,ssr">
        <meta name="description" content="vue srr demo">
    `,
};

但是 index.template.html里引用的是meta

<html>
  <head>
    <title>{{ title }}</title>
    {{{ meta }}}
  </head>
  <body>
    <!--vue-ssr-outlet-->
  </body>
</html>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0