mirror of
https://github.com/ueberdosis/tiptap.git
synced 2024-12-15 11:09:01 +08:00
16 lines
541 B
JavaScript
16 lines
541 B
JavaScript
// eslint-disable-next-line
|
|
import Prism from 'prismjs'
|
|
import 'prismjs/components/prism-jsx.js'
|
|
import 'prismjs/components/prism-scss.js'
|
|
import PortalVue from 'portal-vue'
|
|
import App from '~/layouts/App'
|
|
|
|
export default function (Vue, { head }) {
|
|
head.htmlAttrs = { 'data-theme': 'dark' }
|
|
|
|
Vue.use(PortalVue)
|
|
Vue.component('Layout', App)
|
|
Vue.component('Demo', () => import(/* webpackChunkName: "demo" */ '~/components/Demo'))
|
|
Vue.component('LiveDemo', () => import(/* webpackChunkName: "live-demo" */ '~/components/LiveDemo'))
|
|
}
|