Skip to content

Instantly share code, notes, and snippets.

@egoist egoist/vue-dom.js
Last active Feb 17, 2017

What would you like to do?
Unified way for bootstraping Vue.js app
import {render} from 'vue-dom'
const App = {
template: '<h1>hello world</h1>'
render(App, '#app')
// on the server
import {renderToString} from 'vue-dom/server'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.