.. | ||
src | ||
.npmignore | ||
index.js | ||
package.json | ||
README.md |
@vue/runtime-dom
import { h, render, Component } from '@vue/runtime-dom'
class App extends Component {
data () {
return {
msg: 'Hello World!'
}
}
render () {
return h('div', this.msg)
}
}
render(
h(App),
document.getElementById('app')
)