mirror of
https://github.com/projectcapsule/capsule.git
synced 2026-08-22 22:16:46 +00:00
feat(docs): setup Gridsome for the website
This commit is contained in:
committed by
Dario Tranchitella
parent
14f9686bbb
commit
0acc2d2ef1
@@ -0,0 +1,12 @@
|
||||
// This is the main.js file. Import global CSS and scripts here.
|
||||
// The Client API can be used here. Learn more: gridsome.org/docs/client-api
|
||||
import 'prism-themes/themes/prism-lucario.min.css'
|
||||
|
||||
import DefaultLayout from '~/layouts/Default.vue'
|
||||
import MarkdownLayout from '~/layouts/Markdown.vue'
|
||||
|
||||
export default function (Vue, { router, head, isClient }) {
|
||||
// Set default layout as a global component
|
||||
Vue.component('LayoutDefault', DefaultLayout)
|
||||
Vue.component('LayoutMarkdown', MarkdownLayout)
|
||||
}
|
||||
Reference in New Issue
Block a user