Would you like to clone this notebook?

When you clone a notebook you are able to make changes without affecting the original notebook.

Cancel

untitled notebook

node v14.20.1
version: 1.0.0
endpointsharetweet
const { createSSRApp } = require('vue'); const { renderToString } = require('@vue/server-renderer'); renderToString(createSSRApp({ template: `<component is="x" v-for="_ in [1, 2, 3]"></component>`, components: { x: { template: `<div>x</div>` }, } })) .then(console.log);
Loading…

no comments

    sign in to comment