Skip to content

Commit b57716a

Browse files
committed
docs(image): 增加小程序样例图片
1 parent 035f818 commit b57716a

File tree

5 files changed

+8
-6
lines changed

5 files changed

+8
-6
lines changed

.umirc.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { defineConfig } from 'dumi';
22

33
export default defineConfig({
44
title: 'Taro-hooks',
5-
favicon: '/image/logo.png',
5+
favicon: '/image/hook.png',
66
logo: '/image/logo.png',
77
outputPath: 'docs-dist',
88
mode: 'site',

docs/index.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,19 +38,19 @@ import { useEnv } from 'taro-hooks';
3838
<tbody>
3939
<tr>
4040
<td align="center">
41-
<a target="_blank" href="">
41+
<a>
4242
<img
43-
width="32"
44-
src="http://s"
43+
width="200"
44+
src="/image/hooks.jpeg"
4545
/>
4646
<br>
4747
<strong>Taro-hooks weapp</strong>
4848
</a>
4949
</td>
5050
<td align="center">
51-
<a target="_blank" href="">
51+
<a>
5252
<img
53-
width="32"
53+
width="200"
5454
style="vertical-align: -0.32em; margin-right: 8px;"
5555
src="http://s"
5656
/>

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,13 @@
4040
"react": "^16.12.0"
4141
},
4242
"devDependencies": {
43+
"@umijs/plugin-sass": "^1.1.1",
4344
"@umijs/test": "^3.4.14",
4445
"commitizen": "^4.2.4",
4546
"conventional-changelog-cli": "^2.1.1",
4647
"cz-conventional-changelog": "^3.3.0",
4748
"dumi": "^1.1.19",
49+
"dumi-theme-mobile": "^1.1.3",
4850
"father-build": "^1.19.6",
4951
"gh-pages": "^3.0.0",
5052
"lerna": "^4.0.0",

public/image/hook.png

3.87 KB
Loading

public/image/hooks.jpeg

99.9 KB
Loading

0 commit comments

Comments
 (0)