Skip to content

fix: charset utf8 and typo #296

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

Merged
merged 3 commits into from
Jun 4, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions docs/ru/guide/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ server.get('*', (req, res) => {
res.end(`
<!DOCTYPE html>
<html lang="en">
<meta charset="UTF-8">
<head><title>Привет</title></head>
<body>${html}</body>
</html>
Expand All @@ -89,6 +90,7 @@ server.listen(8080)
``` html
<!DOCTYPE html>
<html lang="en">
<meta charset="UTF-8">
<head><title>Привет</title></head>
<body>
<!--vue-ssr-outlet-->
Expand Down Expand Up @@ -170,9 +172,9 @@ const renderer = require('vue-server-renderer').createRenderer({

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

Expand All @@ -181,7 +183,7 @@ server.get('*', (req, res) => {
data: {
url: req.url
},
template: `<div>The visited URL is: {{ url }}</div>`,
template: `<div>Вы открыли URL: {{ url }}</div>`,
});

renderer
Expand Down