-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathgridsome.config.js
45 lines (43 loc) · 1.07 KB
/
gridsome.config.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
42
43
44
45
// This is where project configuration and plugin options are located.
// Learn more: https://gridsome.org/docs/config
// Changes here require a server restart.
// To restart press CTRL + C in terminal and run `gridsome develop`
module.exports = {
siteName: 'Yanuar Aditia',
siteUrl: 'https://yanuaraditia.com',
plugins: [
{
use: "gridsome-plugin-manifest",
options: {
background_color: "#000000",
icon_path: "./src/favicon.png",
name: "Yanuar Aditia",
short_name: "Yanuar",
theme_color: "#efabc0",
lang: "en",
},
},
{
use: '@gridsome/plugin-sitemap',
options: {
exclude: ['/exclude-me'],
config: {
'/about': {
changefreq: 'monthly',
priority: 0.7,
lastmod: '2020-07-30',
},
'/contact': {
changefreq: 'monthly',
priority: 0.7,
lastmod: '2020-07-30',
}
}
}
},
{
use: "gridsome-plugin-service-worker",
},
],
testEnvironment: 'node'
}