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:
parent
f5c8e68a0c
commit
8ea8880fab
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user