We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
createApp
new Vue()
1 parent 99a2382 commit aeb5beeCopy full SHA for aeb5bee
src/guide/render-function.md
@@ -414,8 +414,7 @@ That's why there's a [Babel plugin](https://github.com/vuejs/jsx-next) to use JS
414
```jsx
415
import AnchoredHeading from './AnchoredHeading.vue'
416
417
-new Vue({
418
- el: '#demo',
+const app = createApp({
419
render() {
420
return (
421
<AnchoredHeading level={1}>
@@ -424,6 +423,8 @@ new Vue({
424
423
)
425
}
426
})
+
427
+app.mount('#demo')
428
```
429
430
For more on how JSX maps to JavaScript, see the [usage docs](https://github.com/vuejs/jsx-next#installation).
0 commit comments