refactor: rename packages

This commit is contained in:
Evan You
2018-10-26 15:44:50 -04:00
parent f142c322e0
commit e05673f4d3
81 changed files with 91 additions and 91 deletions

View File

@@ -0,0 +1,34 @@
# @vue/runtime-test
``` js
import {
h,
render,
Component,
nodeOps,
startRecordingOps,
dumpOps
} from '@vue/runtime-test'
class App extends Component {
data () {
return {
msg: 'Hello World!'
}
}
render () {
return h('div', this.msg)
}
}
// root is of type `TestElement` as defined in src/nodeOps.ts
const root = nodeOps.createElement('div')
startRecordingOps()
render(h(App), root)
const ops = dumpOps()
console.log(ops)
```