-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.js
40 lines (30 loc) · 922 Bytes
/
main.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
// 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 DefaultLayout from '~/layouts/Default.vue'
import VueScrollTo from 'vue-scrollto'
import VueFuse from 'vue-fuse'
export default function (Vue, { router, head, isClient }) {
// Set default layout as a global component
Vue.component('Layout', DefaultLayout)
Vue.use(VueScrollTo, {
duration: 500,
easing: "ease",
})
Vue.use(VueFuse)
head.meta.push({
name: 'keywords',
content: 'Gridsome,Vue,Tailwind,Tailwind CSS,JavaScript,HTML,CSS,Vue.js,VueJS'
})
head.meta.push({
name: 'description',
content: 'Gridsome Portfolio Starter'
})
head.meta.push({
name: 'author',
content: 'Andre Madarang'
})
head.link.push({
rel: 'stylesheet',
href: 'https://fonts.googleapis.com/css?family=Nunito+Sans:400,700'
})
}