2016-11-07 01:34:58 +00:00
|
|
|
<% const {
|
2016-11-14 22:59:54 +00:00
|
|
|
title, htmlAttrs, bodyAttrs, link, style, script, noscript, meta
|
|
|
|
} = context.meta.inject() %><!DOCTYPE html>
|
|
|
|
<html n-head-ssr ${htmlAttrs.text()}>
|
2016-11-07 01:34:58 +00:00
|
|
|
<head>
|
2016-11-14 22:59:54 +00:00
|
|
|
${meta.text()}
|
|
|
|
${title.text()}
|
|
|
|
${link.text()}
|
|
|
|
${style.text()}
|
|
|
|
${script.text()}
|
|
|
|
${noscript.text()}
|
2016-11-11 00:11:21 +00:00
|
|
|
<base href="<%= baseUrl %>">
|
2016-11-09 22:59:41 +00:00
|
|
|
<% if (!dev) { %><link rel="stylesheet" href="<%= files.css %>"><% } %>
|
2016-11-07 01:34:58 +00:00
|
|
|
</head>
|
2016-11-14 22:59:54 +00:00
|
|
|
<body ${bodyAttrs.text()}>
|
2016-11-07 01:34:58 +00:00
|
|
|
<%= APP %>
|
|
|
|
<script type="text/javascript" defer>window.__NUXT__=<%= serialize(context.nuxt) %></script>
|
|
|
|
<script src="<%= files.vendor %>" defer></script>
|
|
|
|
<script src="<%= files.app %>" defer></script>
|
|
|
|
</body>
|
|
|
|
</html>
|