@next-vue/runtime-test
TypeScript icon, indicating that this package has built-in type declarations

3.0.0-alpha.8 • Public • Published

@vue/runtime-test

import { h, render, nodeOps, dumpOps } from '@vue/runtime-test'

const App = {
  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')
render(h(App), root)

const ops = dumpOps()
console.log(ops)

/@next-vue/runtime-test/

    Package Sidebar

    Install

    npm i @next-vue/runtime-test

    Weekly Downloads

    6

    Version

    3.0.0-alpha.8

    License

    MIT

    Unpacked Size

    275 kB

    Total Files

    9

    Last publish

    Collaborators

    • hujiulongpkg