We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 38741fa commit 08ecdc6Copy full SHA for 08ecdc6
1 file changed
src/contract/readme.md
@@ -1,7 +1,11 @@
1
-# lib/contract
+# `contract`
2
3
## Usage
4
5
+```ts
6
+import { contract } from 'bypath';
7
+```
8
+
9
Create a model in a `model.ts` file and export all effector units:
10
11
```ts
@@ -92,7 +96,7 @@ const Increment = reflect({
92
96
Now you can connect the model with the page, create `index.ts` file:
93
97
94
98
95
-import { contract } from 'lib/contract';
99
100
import * as model from './model';
101
import * as page from './page';
102
0 commit comments