ᴜɴвʏтᴇ 052a621762 feat(compile-core): handle falsy dynamic args for v-on and v-bind (#2393) %!s(int64=5) %!d(string=hai) anos
..
__tests__ 02f355eb69 fix(v-for): handle and warn when `v-for` receives non-integer range number (#2247) %!s(int64=5) %!d(string=hai) anos
src 052a621762 feat(compile-core): handle falsy dynamic args for v-on and v-bind (#2393) %!s(int64=5) %!d(string=hai) anos
LICENSE 34989ef7fe chore: license %!s(int64=6) %!d(string=hai) anos
README.md 8f463b3859 chore: readme %!s(int64=6) %!d(string=hai) anos
api-extractor.json c9bf7ded2e refactor(types): mark internal API exports and exclude from d.ts %!s(int64=6) %!d(string=hai) anos
index.js e05673f4d3 refactor: rename packages %!s(int64=7) %!d(string=hai) anos
package.json f17f0ddf68 release: v3.0.1 %!s(int64=5) %!d(string=hai) anos

README.md

@vue/server-renderer

const { createSSRApp } = require('vue')
const { renderToString } = require('@vue/server-renderer')

const app = createSSRApp({
  data: () => ({ msg: 'hello' }),
  template: `<div>{{ msg }}</div>`
})

;(async () => {
  const html = await renderToString(app)
  console.log(html)
})()