change docsearch to dark mode

This commit is contained in:
Hans Pagel 2020-11-06 20:14:06 +01:00
parent 870185ed6a
commit 6fd98704a0

View File

@ -5,7 +5,9 @@ import 'prismjs/components/prism-scss.js'
import PortalVue from 'portal-vue'
import App from '~/layouts/App'
export default function (Vue) {
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'))