Nuxt/lib/views/app.html

20 lines
497 B
HTML
Raw Normal View History

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()}
<% if (!dev) { %><link rel="stylesheet" href="<%= files.css %>"><% } %>
2016-11-07 01:34:58 +00:00
</head>
<body>
<%= 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>