-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathmain.js
41 lines (34 loc) · 960 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
39
40
41
// 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'
export default function (Vue, { router, head, isClient }) {
// Set default layout as a global component
Vue.component('Layout', DefaultLayout)
Vue.use(router),
// PWA manifest file
head.link.push({
rel: "manifest",
href: "/manifest.json"
})
// SEO Organization schema
head.script.push({
type: "application/ld+json",
src: "/js/organization_schema.js"
})
// SEO SoftwareApplication schema
head.script.push({
type: "application/ld+json",
src: "/js/softwareapplication_schema.js"
})
// stripe checkout
head.script.push({
src: "https://js.stripe.com/v3"
})
// codefund
head.script.push({
src: "https://app.codefund.io/properties/707/funder.js"
})
head.script.push({
src: "https://app.codefund.io/properties/708/funder.js"
})
}