Nuxt/lib/views/app.html

20 lines
704 B
HTML
Raw Normal View History

2016-12-09 18:40:59 +00:00
<% var m = context.meta.inject() %><!DOCTYPE html>
<html n-head-ssr <%= m.htmlAttrs.text() %>>
2016-11-07 01:34:58 +00:00
<head>
2016-12-09 18:40:59 +00:00
<%= m.meta.text() %>
<%= m.title.text() %>
<%= m.link.text() %>
<%= m.style.text() %>
<%= m.script.text() %>
<%= m.noscript.text() %>
2017-01-20 11:42:05 +00:00
<% if (baseUrl !== '/') { %><base href="<%= baseUrl %>"><% } %>
<% if (!dev) { %><link rel="stylesheet" href="<%= files.css %>"><% } %>
2016-11-07 01:34:58 +00:00
</head>
2016-12-09 18:40:59 +00:00
<body <%= m.bodyAttrs.text() %>>
2016-11-07 01:34:58 +00:00
<%= APP %>
<script type="text/javascript" defer>window.__NUXT__=<%= serialize(context.nuxt, { isJSON: true }) %></script>
2016-11-07 01:34:58 +00:00
<script src="<%= files.vendor %>" defer></script>
<script src="<%= files.app %>" defer></script>
</body>
</html>