2
0
mirror of https://github.com/tenrok/vue-meta.git synced 2026-06-22 15:50:33 +03:00

chore: improve ssr example

This commit is contained in:
pimlie
2019-03-11 10:45:59 +01:00
parent e4e0996aee
commit c3e97173ee
6 changed files with 115 additions and 52 deletions
+17
View File
@@ -0,0 +1,17 @@
<!doctype html>
<html data-vue-meta-server-rendered {{ htmlAttrs.text() }}>
<head {{ headAttrs.text() }}>
{{ meta.text() }}
{{ title.text() }}
{{ link.text() }}
{{ style.text() }}
{{ webpackAssets }}
{{ script.text() }}
{{ noscript.text() }}
</head>
<body {{ bodyAttrs.text() }}>
{{ app }}
{{ script.text({ body: true }) }}
{{ noscript.text({ body: true }) }}
</body>
</html>