Skip to content

Commit 842b368

Browse files
committed
chore: use more representative size check code
1 parent 94e80cf commit 842b368

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

packages/size-check/src/index.ts

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
import { render, createVNode } from '@vue/runtime-dom'
1+
import { h, createApp } from '@vue/runtime-dom'
22

33
// The bare minimum code required for rendering something to the screen
4-
render(createVNode('div'), document.getElementById('app')!)
4+
createApp({
5+
render: () => h('div', 'hello world!')
6+
}).mount('#app')

0 commit comments

Comments
 (0)