jxnblk / mdx-deck

♠️ React MDX-based presentation decks

Home Page:https://mdx-deck.jxnblk.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can't resolve 'mdx-deck/themes'

ptimson opened this issue · comments

I can't seem to use the latest build (4.1.1) with mdx-deck/themes I get a webpack error:

 ERROR #98124  WEBPACK

Generating development JavaScript bundle failed

Can't resolve 'mdx-deck/themes' in '/sandbox'

Even using the example codesandbox here:
https://codesandbox.io/s/github/jxnblk/mdx-deck/tree/master/examples/themes

Any ideas of a previous version where things are working!

I gave up with this and found an alternative.

Using Reveal.js with Hugo: https://themes.gohugo.io/reveal-hugo/

You can write your slides in Markdown. It's the best I could find that is close to this lib and I think it's great!

You should change theme usage to below:

import { themes } from 'mdx-deck'
export const theme = themes.future

from

export { future as theme } from 'mdx-deck/themes'

https://github.com/jxnblk/mdx-deck/blob/master/docs/theming.md