Skip to content

Commit

Permalink
feat: add mdx hmr plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
sanyuan0704 committed Sep 15, 2022
1 parent 5b3604a commit 2f49623
Show file tree
Hide file tree
Showing 13 changed files with 110 additions and 576 deletions.
8 changes: 7 additions & 1 deletion docs/guide/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,13 @@

### 1. Init project

First, you can use `npm init -y` to init a new project.Then you can install Island with npm, yarn or pnpm:
First, you can use create a new directory by following command:

```bash
mkdir island-app && cd island-app
```

Execute `npm init -y` to init a project.You can install Island with npm, yarn or pnpm:

```bash
// npm
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@
"@babel/preset-react": "^7.18.6",
"@babel/traverse": "^7.19.0",
"@loadable/component": "5.15.2",
"@mdx-js/mdx": "1",
"@mdx-js/react": "1",
"@mdx-js/mdx": "^2.1.3",
"@mdx-js/react": "^2.1.3",
"@mdx-js/rollup": "2",
"@svgr/core": "6.3.1",
"@vitejs/plugin-react": "2.0.1",
Expand Down
Loading

0 comments on commit 2f49623

Please sign in to comment.