Skip to content

Commit 309b471

Browse files
committed
fix(reactant-share): rename module
1 parent e5e3ce7 commit 309b471

File tree

3 files changed

+9
-8
lines changed

3 files changed

+9
-8
lines changed

README.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -108,11 +108,10 @@ app.bootstrap(document.getElementById('app'));
108108

109109
## Documentation
110110

111-
* [Getting Started](https://reactant.js.org/docs/introduction)
112-
* [Tutorial](https://reactant.js.org/docs/state-action)
113-
* [Concepts](https://reactant.js.org/docs/concepts)
114-
* [Advanced Guides](https://reactant.js.org/docs/hooks)
115-
* [API Reference](https://reactant.js.org/docs/api/reactant/modules/_createapp_)
116-
* [Contributing Guide](https://reactant.js.org/help)
111+
* [Getting Started](https://reactant.js.org/docs/intro)
112+
* [Tutorial](https://reactant.js.org/docs/category/basic-tutorial)
113+
* [Concepts](https://reactant.js.org/docs/getting-started/concepts)
114+
* [Advanced Guides](https://reactant.js.org/docs/category/advanced-guides)
115+
* [API Reference](https://reactant.js.org/docs/api/reactant/modules/createApp)
117116

118117
You can visit [reactant.js.org](https://reactant.js.org/) for more documentation.

packages/reactant-share/src/router.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ export interface IRouterOptions extends IBaseRouterOptions {
6161
}
6262

6363
@injectable({
64-
name: 'reactant:router',
64+
name: 'Router',
6565
})
6666
class ReactantRouter extends BaseReactantRouter {
6767
/**

packages/reactant-share/src/storage.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ export interface IStorageOptions extends IBaseStorageOptions {
1515
//
1616
}
1717

18-
@injectable()
18+
@injectable({
19+
name: 'Storage',
20+
})
1921
class ReactantStorage extends BaseReactantStorage {
2022
constructor(
2123
protected portDetector: PortDetector,

0 commit comments

Comments
 (0)