Home / File/ basic-ssr.html — vue Source File

basic-ssr.html — vue Source File

Architecture documentation for basic-ssr.html, a html file in the vue codebase.

Entity Profile

Source Code

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <title></title>
  </head>
  <body>
    <script src="../../dist/vue.min.js"></script>
    <script src="../../packages/server-renderer/basic.js"></script>

    <div id="result">wtf</div>

    <script>
    var vm = new Vue({
      data: { msg: 'foo' },
      template: '<div>{{ msg }}</div>'
    })

    renderVueComponentToString(vm, function (err, result) {
      document.getElementById('result').textContent = err && err.toString() || result
    })
    </script>
  </body>
</html>

Frequently Asked Questions

What does basic-ssr.html do?
basic-ssr.html is a source file in the vue codebase, written in html.
Where is basic-ssr.html in the architecture?
basic-ssr.html is located at test/e2e/basic-ssr.html (directory: test/e2e).

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free