Skip to content

Commit 7cac90d

Browse files
committed
docs(README): update docs about README
1 parent a870906 commit 7cac90d

File tree

25 files changed

+44
-93
lines changed

25 files changed

+44
-93
lines changed

docs/hooks.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
id: hooks
3-
title: Reactant hooks
3+
title: Reactant Hooks
44
---
55

66
todo

packages/reactant-cli/README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,16 @@ npx reactant-cli init my-app
1616

1717
```sh
1818
npx reactant-cli generate service Foo
19+
# or
20+
npx reactant-cli g s FooBarView
1921
```
2022

2123
* Generate a view file:
2224

2325
```sh
2426
npx reactant-cli generate view FooBarView
27+
# or
28+
npx reactant-cli g v FooBarView
2529
```
2630

2731
## Global installation
@@ -31,3 +35,5 @@ We recommend you install `reactant-cli` globally to use it.
3135
```sh
3236
npm install -g reactant-cli
3337
```
38+
39+
You can visit [reactant.js.org](https://reactant.js.org/) for more documentation.

packages/reactant-cli/api

Lines changed: 0 additions & 3 deletions
This file was deleted.

packages/reactant-di/README.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,8 @@ A dependency injection lib for Reactant
88

99
```sh
1010
npm install reactant-di
11-
```
12-
13-
or
14-
15-
```sh
11+
# or
1612
yarn add reactant-di
1713
```
14+
15+
You can visit [reactant.js.org](https://reactant.js.org/) for more documentation.

packages/reactant-di/api

Lines changed: 0 additions & 9 deletions
This file was deleted.

packages/reactant-model/README.md

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,11 @@ A model lib for Reactant
88

99
```sh
1010
npm install reactant-model
11-
```
12-
13-
or
14-
15-
```sh
11+
# or
1612
yarn add reactant-model
1713
```
1814

19-
## Base Example
15+
## Example
2016

2117
```js
2218
import { model } from 'reactant-model';
@@ -33,10 +29,4 @@ const counter = model({
3329
});
3430
```
3531

36-
## Documentation
37-
38-
* Getting Started
39-
* Tutorial
40-
* Concepts
41-
* Advanced Guides
42-
* [API Reference](docs/api/README.md)
32+
You can visit [reactant.js.org](https://reactant.js.org/) for more documentation.

packages/reactant-model/api

Lines changed: 0 additions & 3 deletions
This file was deleted.

packages/reactant-module/README.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,8 @@ A module model for Reactant
88

99
```sh
1010
npm install reactant-module
11-
```
12-
13-
or
14-
15-
```sh
11+
# or
1612
yarn add reactant-module
1713
```
14+
15+
You can visit [reactant.js.org](https://reactant.js.org/) for more documentation.

packages/reactant-module/api

Lines changed: 0 additions & 14 deletions
This file was deleted.

packages/reactant-native/api

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)