tiptap/docs/src/main.js

16 lines
541 B
JavaScript
Raw Normal View History

2020-09-24 05:38:11 +08:00
// eslint-disable-next-line
2020-03-05 16:18:17 +08:00
import Prism from 'prismjs'
2020-04-17 03:12:31 +08:00
import 'prismjs/components/prism-jsx.js'
2020-04-18 05:35:07 +08:00
import 'prismjs/components/prism-scss.js'
2020-10-13 00:42:47 +08:00
import PortalVue from 'portal-vue'
2020-04-17 23:06:55 +08:00
import App from '~/layouts/App'
2019-12-08 04:02:22 +08:00
2020-11-07 03:14:06 +08:00
export default function (Vue, { head }) {
head.htmlAttrs = { 'data-theme': 'dark' }
2020-10-13 00:42:47 +08:00
Vue.use(PortalVue)
2020-04-17 23:06:55 +08:00
Vue.component('Layout', App)
2020-10-02 16:55:55 +08:00
Vue.component('Demo', () => import(/* webpackChunkName: "demo" */ '~/components/Demo'))
Vue.component('LiveDemo', () => import(/* webpackChunkName: "live-demo" */ '~/components/LiveDemo'))
2019-12-08 04:02:22 +08:00
}