Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
// Step 1: Create a Vue instance!
import Vue from 'vue'
import serverRenderer from 'vue-server-renderer'
console.log(serverRenderer.default)
const app = new Vue({
template: `<div>Hello World</div>`
})
const template = `
<title>{{ title }}</title>
`
// Step 2: Create a renderer
const renderer = serverRenderer.createRenderer({