2016-11-07 01:34:58 +00:00
|
|
|
<% const {
|
|
|
|
title,
|
|
|
|
htmlAttrs,
|
|
|
|
bodyAttrs,
|
|
|
|
meta
|
|
|
|
} = context.meta.inject()
|
|
|
|
%><!DOCTYPE html data-vue-meta-server-rendered>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
${title.toString()}
|
2016-11-10 19:21:16 +00:00
|
|
|
<% if (baseUrl) { %><base href="<%= baseUrl %>"><% } %>
|
2016-11-09 22:59:41 +00:00
|
|
|
<% if (!dev) { %><link rel="stylesheet" href="<%= files.css %>"><% } %>
|
2016-11-10 23:01:36 +00:00
|
|
|
<% if (redirected) { %>
|
|
|
|
<meta http-equiv="refresh" content="0; url=<%= redirected %>" />
|
|
|
|
<script type="text/javascript">
|
|
|
|
window.location.href = '<%= redirected %>'
|
|
|
|
</script>
|
|
|
|
<% } %>
|
2016-11-07 01:34:58 +00:00
|
|
|
</head>
|
|
|
|
<body>
|
2016-11-10 23:01:36 +00:00
|
|
|
<% if (!redirected) { %>
|
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>
|
2016-11-10 23:01:36 +00:00
|
|
|
<% } %>
|
2016-11-07 01:34:58 +00:00
|
|
|
</body>
|
|
|
|
</html>
|