We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 94e80cf commit 842b368Copy full SHA for 842b368
packages/size-check/src/index.ts
@@ -1,4 +1,6 @@
1
-import { render, createVNode } from '@vue/runtime-dom'
+import { h, createApp } from '@vue/runtime-dom'
2
3
// The bare minimum code required for rendering something to the screen
4
-render(createVNode('div'), document.getElementById('app')!)
+createApp({
5
+ render: () => h('div', 'hello world!')
6
+}).mount('#app')
0 commit comments