feat(docs): setup Gridsome for the website

This commit is contained in:
Luca Spezzano
2021-11-06 16:30:34 +01:00
committed by Dario Tranchitella
parent 14f9686bbb
commit 0acc2d2ef1
111 changed files with 25054 additions and 149 deletions
+12
View File
@@ -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)
}