Skip to content
masterclass Buddy

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): App

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • createSSRApp()
  • app.mount()
  • app.unmount()
  • app.component()
  • app.directive()
  • app.use()
  • app.provide()
  • app.config

Source: Application API | Vue.js. Checked 2026-11-03.