-
Notifications
You must be signed in to change notification settings - Fork 0
/
gridsome.config.js
42 lines (39 loc) · 1.05 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
// 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`
const path = require('path')
module.exports = {
siteName: 'Gridsome',
plugins: [
{
use: 'gridsome-source-conference-hall',
options: {
apiKey: process.env.CONFERENCE_HALL_API_KEY,
eventId: process.env.CONFERENCE_HALL_EVENT_ID,
filterConfirmedTalks: true,
convertAbstractsToHtml: true,
speakersPhotoPath: `${path.resolve(
__dirname
)}/src/assets/imgs/speakers/`
}
},
{
use: 'gridsome-plugin-tailwindcss',
options: {
purgeConfig: {
whitelist: ['hidden']
},
presetEnvConfig: {},
shouldPurge: true,
shouldImport: true,
shouldTimeTravel: true,
shouldPurgeUnusedKeyframes: true
}
}
],
templates: {
Speaker: '/speaker/:displayName',
Talk: '/talk/:title'
}
}