<% var m = context.meta.inject() %><!DOCTYPE html>
<html n-head-ssr <%= m.htmlAttrs.text() %>>
  <head>
    <%= m.meta.text() %>
    <%= m.title.text() %>
    <%= m.link.text() %>
    <%= m.style.text() %>
    <%= m.script.text() %>
    <%= m.noscript.text() %>
    <base href="<%= baseUrl %>">
    <% if (!dev) { %><link rel="stylesheet" href="<%= files.css %>"><% } %>
  </head>
  <body <%= m.bodyAttrs.text() %>>
    <%= 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>

<% var m = context.meta.inject() %><!DOCTYPE html>
<html n-head-ssr <%= m.htmlAttrs.text() %>>
  <head>
    <%= m.meta.text() %>
    <%= m.title.text() %>
    <%= m.link.text() %>
    <%= m.style.text() %>
    <%= m.script.text() %>
    <%= m.noscript.text() %>
    <base href="<%= baseUrl %>">
    <% if (!dev) { %><link rel="stylesheet" href="<%= files.css %>"><% } %>
  </head>
  <body <%= m.bodyAttrs.text() %>>
    <%= APP %>
    <script type="text/javascript" defer>window.__NUXT__=<%= serialize(context.nuxt, { isJSON: true }) %></script>
    <script src="<%= files.vendor %>" defer></script>
    <script src="<%= files.app %>" defer></script>
  </body>
</html>

Use isJSON: true for better perf and security
Use isJSON: true for better perf and security
