code: function renderToString(meta) {
    if (meta.html) return meta.html.source
    var output = [
      '<!DOCTYPE html>', '<html>', '<head>', '<meta charset="utf8" />'
    ]
    var { head, body } = meta
    head.metas.forEach(e => output.push(renderMeta(e.name, e.http, e.content)))
    head.styles.forEach(e => output.push(renderStyle(e.type, e.src, e.source)))
    head.scripts.forEach(e => output.push(renderScript(e.type, e.src, e.source)))
    if (head.title) output.push(`<title>${head.title}</title>`)
    if (head.icon) output.push(renderIcon(head.icon.type, head.icon.src))
    output.push('</head>', '<body>')
    if (body.holder) output.push(body.holder.source)
    body.injectA.forEach(e => output.push(renderScript(e.type, e.src, e.source)))
    body.scripts.forEach(e => output.push(renderScript(e.type, e.src, e.source)))
    body.injectB.forEach(e => output.push(renderScript(e.type, e.src, e.source)))
    output.push('</body>', '</html>')
    return concatString(output)
  }
docs: render view to HTML5
  
  @return {ViewMeta}