-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathstyleguide.config.js
More file actions
36 lines (34 loc) · 891 Bytes
/
styleguide.config.js
File metadata and controls
36 lines (34 loc) · 891 Bytes
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
const path = require('path')
module.exports = {
title: 'monorail',
styleguideDir: 'dist/guide',
components: 'src/components/**/[A-Z]*.vue',
defaultExample: false,
showUsage: true,
showCode: true,
template: 'build/styleguide/index.html',
highlightTheme: 'material',
sections: [{
content: './README.md'
}, {
content: './docs/CONTRIBUTING.md'
}, {
content: './docs/donate.md'
}, {
name: 'Selection',
components: 'src/components/+(MSwitch)/*.vue',
}, {
name: 'Windows',
components: 'src/components/+(MWindow*|MTitleBar|MSplitView)/*.vue',
}, {
name: 'Navigation',
components: 'src/components/+(MNavigation*)/*.vue',
}, {
name: 'Controls',
components: 'src/components/+(MCharm)/*.vue',
}],
require: [
path.join(__dirname, 'build/styleguide/index.js'),
path.join(__dirname, 'build/styleguide/index.css')
]
}