Vue.js · Function
createApp
createApp creates a Vue application instance from a root component and optional root props. Configure the app, then call mount to render it in a container.
Last updated
Syntax
function createApp(rootComponent: Component, rootProps?: object): AppIn-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
createSSRApp()app.mount()app.unmount()app.component()app.directive()app.use()app.provide()app.config