-
Notifications
You must be signed in to change notification settings - Fork 5
/
gridsome.config.js
41 lines (41 loc) 路 886 Bytes
/
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
module.exports = {
siteName: 'Gridsome starter bootstrap',
siteDescription: 'A starter project for Gridsome with Bootstrap and some other useful tools.',
siteUrl: 'https://gridsome-starter-bootstrap.loke.dev',
plugins: [
{
use: '@gridsome/source-filesystem',
options: {
path: 'blog/**/*.md',
typeName: 'BlogPost',
resolveAbsolutePaths: true,
remark: {
externalLinksTarget: '_blank',
externalLinksRel: ['nofollow', 'noopener', 'noreferrer'],
},
},
},
{
use: '@gridsome/plugin-google-analytics',
options: {
id: 'UA-72659574-10'
}
},
{
use: '@gridsome/plugin-sitemap',
options: {
cacheTime: 600000
}
}
],
css: {
loaderOptions: {
scss: {
}
}
},
devServer: {
host: '0.0.0.0',
port: 8080
}
}