Skip to content

Commit

Permalink
Merge pull request #5 from component-driven/gatsby
Browse files Browse the repository at this point in the history
fix: Fix theme font styles and move example to GatsbyJS so it consistent
  • Loading branch information
okonet authored May 23, 2020
2 parents 4fbe1b3 + 2222c25 commit ba09916
Show file tree
Hide file tree
Showing 20 changed files with 1,289 additions and 54 deletions.
3 changes: 2 additions & 1 deletion .babelrc
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@
}
],
"@babel/react"
]
],
"plugins": ["@babel/plugin-proposal-class-properties"]
}
25 changes: 25 additions & 0 deletions gatsby-config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
module.exports = {
// pathPrefix: `/slides`,
plugins: [
{
resolve: "gatsby-theme-mdx-deck",
options: {
// source directory
contentPath: "./slides",
// base path for routes generate by this theme
basePath: "/slides",
},
},
{
resolve: "gatsby-plugin-compile-es6-packages",
options: {
modules: [
"mdx-deck",
"gatsby-theme-mdx-deck",
"@mdx-deck/themes",
"@mdx-deck/gatsby-plugin",
],
},
},
],
};
Loading

0 comments on commit ba09916

Please sign in to comment.