Skip to content

Commit 499cfb8

Browse files
committed
feat: add readme
1 parent 4552af6 commit 499cfb8

File tree

3 files changed

+12
-3
lines changed

3 files changed

+12
-3
lines changed

README.md

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# 基于 React 的 Islands 架构实现
2+
3+
启动方式:
4+
5+
```ts
6+
pnpm install
7+
pnpm start:demo
8+
```
9+
10+
访问地址: http://localhost:3000/routes/index

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
"@types/koa-router": "^7.4.4",
2424
"@types/react": "^18.0.17",
2525
"@types/react-dom": "^18.0.6",
26+
"tsx": "^3.8.2",
2627
"typescript": "^4.7.4"
2728
}
2829
}

playground/package.json

+1-3
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,5 @@
1010
"keywords": [],
1111
"author": "",
1212
"license": "ISC",
13-
"devDependencies": {
14-
"tsx": "^3.8.2"
15-
}
13+
"devDependencies": {}
1614
}

0 commit comments

Comments
 (0)