diff --git a/packages/demo1/README.md b/packages/demo1/README.md index 9e438fd..6292e62 100644 --- a/packages/demo1/README.md +++ b/packages/demo1/README.md @@ -1,11 +1,7 @@ -# `demo1` +# `@liangskyli/demo1` > TODO: description -## Usage +## 使用 -``` -const demo1 = require('demo1'); - -// TODO: DEMONSTRATE API -``` +[见文档](https://liangskyli.github.io/dumi-lerna-demo/demo1s) diff --git a/packages/demo1/src/index.md b/packages/demo1/src/index.md index 6eca5e4..a1b59bf 100644 --- a/packages/demo1/src/index.md +++ b/packages/demo1/src/index.md @@ -17,6 +17,8 @@ $ yarn add @liangskyli/demo1 ### 使用 -```ts +```tsx +import { Foo } from '@liangskyli/demo1'; +export default () => ; ``` diff --git a/packages/demo2/README.md b/packages/demo2/README.md index 9e438fd..a1cabe2 100644 --- a/packages/demo2/README.md +++ b/packages/demo2/README.md @@ -1,11 +1,7 @@ -# `demo1` +# `@liangskyli/demo2` > TODO: description -## Usage +## 使用 -``` -const demo1 = require('demo1'); - -// TODO: DEMONSTRATE API -``` +[见文档](https://liangskyli.github.io/dumi-lerna-demo/demo2s) diff --git a/packages/demo2/src/index.md b/packages/demo2/src/index.md index e69ff9a..c8482a7 100644 --- a/packages/demo2/src/index.md +++ b/packages/demo2/src/index.md @@ -17,6 +17,8 @@ $ yarn add @liangskyli/demo2 ### 使用 -```ts +```jsx +import { Foo22 } from '@liangskyli/demo2'; +export default () => ; ```