Skip to content

Commit

Permalink
增加示例
Browse files Browse the repository at this point in the history
  • Loading branch information
Houfeng committed Sep 10, 2019
1 parent ee561b9 commit 2c8333e
Show file tree
Hide file tree
Showing 13 changed files with 7 additions and 229 deletions.
2 changes: 1 addition & 1 deletion docs/data.js

Large diffs are not rendered by default.

16 changes: 4 additions & 12 deletions docs/index.html
Original file line number Diff line number Diff line change
@@ -1,24 +1,16 @@
<!DOCTYPE html>
<html lang="zh">
<html lang="en">

<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Mota</title>
<meta name="keywords" content="Mota" />
<meta name="description" content="Mota" />
<meta name="author" content="doczilla">
<base href="." route="" />
<link href="./assets/index.css" rel="stylesheet">
<link href="./plugins/doczilla-card/index.css" rel="stylesheet" /><link href="./plugins/doczilla-details/index.css" rel="stylesheet" /><link href="./plugins/doczilla-highlight/index.css" rel="stylesheet" /></head>
</head>
<title></title>
<link href="./assets/index.css" rel="stylesheet"><link href="./plugins/doczilla-card/index.css" rel="stylesheet" /><link href="./plugins/doczilla-details/index.css" rel="stylesheet" /><link href="./plugins/doczilla-highlight/index.css" rel="stylesheet" /></head>

<body>
<div id="root"></div>
<script src="./data.js"></script>
<script src="./assets/index.js"></script>
<script src="./plugins/doczilla-highlight/index.js"></script></body>
</body>
<script type="text/javascript" src="./assets/index.js"></script><script src="./plugins/doczilla-highlight/index.js"></script></body>

</html>
Binary file removed docs/logo.jpg
Binary file not shown.
24 changes: 0 additions & 24 deletions docs/zh/guide/autorun.html

This file was deleted.

24 changes: 0 additions & 24 deletions docs/zh/guide/binding.html

This file was deleted.

24 changes: 0 additions & 24 deletions docs/zh/guide/hook_model.html

This file was deleted.

24 changes: 0 additions & 24 deletions docs/zh/guide/mapping.html

This file was deleted.

24 changes: 0 additions & 24 deletions docs/zh/guide/model.html

This file was deleted.

24 changes: 0 additions & 24 deletions docs/zh/guide/quick.html

This file was deleted.

24 changes: 0 additions & 24 deletions docs/zh/guide/typescript.html

This file was deleted.

24 changes: 0 additions & 24 deletions docs/zh/guide/use_model.html

This file was deleted.

24 changes: 0 additions & 24 deletions docs/zh/guide/watch.html

This file was deleted.

2 changes: 2 additions & 0 deletions markdowns/quick.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ Mota 是一个响应式的 React 应用状态管理库,基于 Mota 你可以
[在线 TodoList 示例](http://houfeng.net/dn-template-mota/example/)
([示例源码](https://github.com/Houfeng/dn-template-mota))

<iframe src="https://codesandbox.io/embed/hungry-oskar-n93p9vp1p4?fontsize=14&hidenavigation=1&view=preview" title="dn-template-mota-hook " allow="geolocation; microphone; camera; midi; vr; accelerometer; gyroscope; payment; ambient-light-sensor; encrypted-media; usb" style="width:100%; height:500px; border:0; border-radius: 4px; overflow:hidden;" sandbox="allow-modals allow-forms allow-popups allow-scripts allow-same-origin"></iframe>

## 安装

通过 npm 安装,如下
Expand Down

0 comments on commit 2c8333e

Please sign in to comment.