-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from alibaba/master
merge source
- Loading branch information
Showing
63 changed files
with
3,600 additions
and
2,418 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
language: node_js | ||
node_js: | ||
- 'lts/*' | ||
install: | ||
- npm install | ||
- npm run bootstrap | ||
- npm install -g surge | ||
script: | ||
- npm run build:doc | ||
- surge ./dist ahooks-$(git rev-parse --short HEAD).surge.sh | ||
cache: | ||
directories: | ||
- 'node_modules' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
export default { | ||
ssr: {}, | ||
// ssr: {}, | ||
exportStatic: {}, | ||
nodeModulesTransform: { | ||
type: 'none', | ||
|
@@ -19,7 +19,7 @@ export default { | |
'babel-plugin-import', | ||
{ | ||
libraryName: '@alifd/next', | ||
style: true, | ||
style: false, | ||
}, | ||
'fusion', | ||
], | ||
|
@@ -35,7 +35,13 @@ export default { | |
resolve: { | ||
includes: ['docs', 'packages/hooks/src', 'packages/use-request'], | ||
}, | ||
links: [{ rel: 'stylesheet', href: '/style.css' }], | ||
links: [ | ||
{ | ||
rel: 'stylesheet', | ||
href: 'https://unpkg.com/@alifd/[email protected]/dist/next.min.css', | ||
}, | ||
{ rel: 'stylesheet', href: '/style.css' }, | ||
], | ||
navs: { | ||
'zh-CN': [ | ||
null, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,7 +30,48 @@ npm i ahooks --save | |
import { useRequest } from 'ahooks'; | ||
``` | ||
|
||
## 🖥 Development | ||
## Core Team | ||
|
||
<table> | ||
<tbody> | ||
<tr> | ||
<td align="center"> | ||
<a target="_blank" href="https://github.com/alibaba/ice"> | ||
<img | ||
width="32" | ||
src="https://img.alicdn.com/tfs/TB1Jd.tb79l0K4jSZFKXXXFjpXa-482-264.png" | ||
/> | ||
<br> | ||
<strong>ice</strong> | ||
</a> | ||
</td> | ||
<td align="center"> | ||
<a target="_blank" href="https://github.com/umijs/umi"> | ||
<img | ||
width="32" | ||
style="vertical-align: -0.32em; margin-right: 8px;" | ||
src="https://img.alicdn.com/tfs/TB1fhqaLAT2gK0jSZFkXXcIQFXa-132-130.png" | ||
/> | ||
<br> | ||
<strong>umi</strong> | ||
</a> | ||
</td> | ||
<td align="center"> | ||
<a target="_blank" href="https://www.alisports.com/"> | ||
<img | ||
width="32" | ||
style="vertical-align: -0.32em; margin-right: 8px;" | ||
src="https://gw.alicdn.com/tfs/TB13XKjLuL2gK0jSZFmXXc7iXXa-205-59.png" | ||
/> | ||
<br> | ||
<strong>Alisports</strong> | ||
</a> | ||
</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
|
||
## 🤝 Contributing | ||
|
||
``` | ||
$ git clone [email protected]:alibaba/hooks.git | ||
|
@@ -40,8 +81,6 @@ $ npm start | |
``` | ||
Open your browser and visit http://127.0.0.1:8001 , see more at Development. | ||
|
||
## 🤝 Contributing | ||
|
||
We welcome all contributions, please read our [CONTRIBUTING.MD](https://github.com/alibaba/hooks/blob/master/CONTRIBUTING.MD) first, let's build a better hooks library together. | ||
|
||
## 👥 Discuss | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,7 +30,48 @@ npm i ahooks --save | |
import { useRequest } from 'ahooks'; | ||
``` | ||
|
||
## 🖥 开发 | ||
## 开发团队 | ||
|
||
<table> | ||
<tbody> | ||
<tr> | ||
<td align="center"> | ||
<a target="_blank" href="https://github.com/alibaba/ice"> | ||
<img | ||
width="32" | ||
src="https://img.alicdn.com/tfs/TB1Jd.tb79l0K4jSZFKXXXFjpXa-482-264.png" | ||
/> | ||
<br> | ||
<strong>icejs</strong> | ||
</a> | ||
</td> | ||
<td align="center"> | ||
<a target="_blank" href="https://github.com/umijs/umi"> | ||
<img | ||
width="32" | ||
style="vertical-align: -0.32em; margin-right: 8px;" | ||
src="https://img.alicdn.com/tfs/TB1fhqaLAT2gK0jSZFkXXcIQFXa-132-130.png" | ||
/> | ||
<br> | ||
<strong>UmiJS</strong> | ||
</a> | ||
</td> | ||
<td align="center"> | ||
<a target="_blank" href="https://www.alisports.com/"> | ||
<img | ||
width="32" | ||
style="vertical-align: -0.32em; margin-right: 8px;" | ||
src="https://gw.alicdn.com/tfs/TB13XKjLuL2gK0jSZFmXXc7iXXa-205-59.png" | ||
/> | ||
<br> | ||
<strong>阿里体育</strong> | ||
</a> | ||
</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
|
||
## 🤝 参与贡献 | ||
|
||
``` | ||
$ git clone [email protected]:alibaba/hooks.git | ||
|
@@ -40,11 +81,9 @@ $ npm start | |
``` | ||
打开浏览器访问 http://127.0.0.1:8001 | ||
|
||
## 🤝 贡献 | ||
|
||
我们欢迎所有人参与共建,请参考[CONTRIBUTING.MD](https://github.com/alibaba/hooks/blob/master/CONTRIBUTING.MD) | ||
|
||
## 👥 讨论 | ||
## 👥 交流讨论 | ||
|
||
<img src="https://raw.githubusercontent.com/umijs/hooks/master/dingtalk.jpg" width="300" /> | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,7 +29,7 @@ npm i ahooks --save | |
import { useRequest } from 'ahooks'; | ||
``` | ||
## 谁在使用 | ||
## 开发团队 | ||
<table> | ||
<tbody> | ||
|
Oops, something went wrong.