1
1
mirror of https://github.com/jxnblk/mdx-deck.git synced 2024-11-26 00:35:02 +03:00

Edit docs

This commit is contained in:
Brent Jackson 2019-03-09 21:30:43 -05:00
parent f5c8e68a0c
commit 8ea8880fab

View File

@ -75,7 +75,7 @@ Next, create a `.js` file to import and combine the two `.mdx` files.
import { slides as one } from './one.mdx'
import { slides as two } from './two.mdx'
export default [...one, ...two]
export const slides = [...one, ...two]
```
Then, point the MDX Deck CLI comment in your `package.json` to the `deck.js` file.