Function createApp()

Creates an application instance.
The first argument is the root component.
The second optional argument is the props to be
passed to the root component.

function createApp(rootComponent: Component, rootProps?: object): App
import { createApp } from 'vue'

const app = createApp({
  /* root component options */
})


import { createApp } from 'vue'
import App from './App.vue'

const app = createApp(App)