diff --git a/.fatherrc.ts b/.fatherrc.ts index f5246dcd91..86535174cc 100644 --- a/.fatherrc.ts +++ b/.fatherrc.ts @@ -9,7 +9,8 @@ const options: IBundleOptions = { prettier: true }, doc: { - title: '@umijs/hooks' + title: '@umijs/hooks', + base: '/hooks/' } }; diff --git a/.gitignore b/.gitignore index a6bad6c9ff..c31becf70a 100755 --- a/.gitignore +++ b/.gitignore @@ -5,4 +5,5 @@ /node_modules /.history /.idea -/coverage \ No newline at end of file +/coverage +.doc \ No newline at end of file diff --git a/README.md b/README.md index 48f74014af..3e94813317 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ react hooks library ## Usage ```sh -umi block https://github.com/https://github.com/umijs/hooks/tree/master/hooks +npm i @umijs/hooks --save ``` ## LICENSE