Skip to content

Instantly share code, notes, and snippets.

@mattcdavis1
Created May 11, 2021 14:11
Show Gist options
  • Save mattcdavis1/c23f9cde68944af2b5f3e198a1cf5eee to your computer and use it in GitHub Desktop.
Save mattcdavis1/c23f9cde68944af2b5f3e198a1cf5eee to your computer and use it in GitHub Desktop.
import { createApp } from 'vue'
import router from '~/js/bootstrap/router'
const app = createApp({})
app.component('app', require('~/vue/app/index.vue').default)
app.component('breadcrumbs', require('~/vue/app/_/breadcrumbs.vue').default)
app.use(router)
app.mount('#app')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment