Skip to content

Commit ba09916

Browse files
authored
Merge pull request #5 from component-driven/gatsby
fix: Fix theme font styles and move example to GatsbyJS so it consistent
2 parents 4fbe1b3 + 2222c25 commit ba09916

File tree

20 files changed

+1289
-54
lines changed

20 files changed

+1289
-54
lines changed

.babelrc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,6 @@
77
}
88
],
99
"@babel/react"
10-
]
10+
],
11+
"plugins": ["@babel/plugin-proposal-class-properties"]
1112
}

gatsby-config.js

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
module.exports = {
2+
// pathPrefix: `/slides`,
3+
plugins: [
4+
{
5+
resolve: "gatsby-theme-mdx-deck",
6+
options: {
7+
// source directory
8+
contentPath: "./slides",
9+
// base path for routes generate by this theme
10+
basePath: "/slides",
11+
},
12+
},
13+
{
14+
resolve: "gatsby-plugin-compile-es6-packages",
15+
options: {
16+
modules: [
17+
"mdx-deck",
18+
"gatsby-theme-mdx-deck",
19+
"@mdx-deck/themes",
20+
"@mdx-deck/gatsby-plugin",
21+
],
22+
},
23+
},
24+
],
25+
};

0 commit comments

Comments
 (0)