mirror of
https://github.com/jxnblk/mdx-deck.git
synced 2024-09-20 19:37:27 +03:00
Update ok-cli
This commit is contained in:
parent
3af38d05fe
commit
5c79243408
15
README.md
15
README.md
@ -6,7 +6,7 @@
|
||||
**Beta**
|
||||
|
||||
```sh
|
||||
npm i mdx-deck
|
||||
npm i -D mdx-deck
|
||||
```
|
||||
|
||||
- :memo: Write presentations in markdown
|
||||
@ -34,10 +34,19 @@ import Demo from './components/Demo'
|
||||
# The end
|
||||
````
|
||||
|
||||
Run the CLI pointing to the `.mdx` file to start the dev server:
|
||||
Add a run script to your `package.json` with the mdx-deck CLI
|
||||
pointing to the `.mdx` file to start the dev server:
|
||||
|
||||
```json
|
||||
"scripts": {
|
||||
"start": "mdx-deck deck.mdx"
|
||||
}
|
||||
```
|
||||
|
||||
Start the dev server:
|
||||
|
||||
```sh
|
||||
mdx-deck deck.mdx
|
||||
npm start
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
@ -23,7 +23,7 @@
|
||||
"gray-matter": "^4.0.1",
|
||||
"lodash.throttle": "^4.1.1",
|
||||
"meow": "^5.0.0",
|
||||
"ok-cli": "^3.0.1",
|
||||
"ok-cli": "^3.0.2",
|
||||
"pkg-conf": "^2.1.0",
|
||||
"prop-types": "^15.6.2",
|
||||
"react-dev-utils": "^5.0.1",
|
||||
|
Loading…
Reference in New Issue
Block a user