update components README.md
Showing
1 changed file
with
5 additions
and
3 deletions
@@ -16,7 +16,7 @@ | @@ -16,7 +16,7 @@ | ||
16 | 16 | ||
17 | - 使用 | 17 | - 使用 |
18 | 18 | ||
19 | - express 服务端路由 | 19 | + 1. express 服务端路由 |
20 | 20 | ||
21 | res.render('index', { | 21 | res.render('index', { |
22 | helpers: { | 22 | helpers: { |
@@ -30,9 +30,11 @@ | @@ -30,9 +30,11 @@ | ||
30 | } | 30 | } |
31 | }); | 31 | }); |
32 | 32 | ||
33 | - handlebars view | 33 | + 2. handlebars view |
34 | 34 | ||
35 | - {{{ pagination paginationOpts }}} | 35 | + {{{ pagination paginationOpts }}} |
36 | + | ||
37 | + 3. 将public/css/components/pagination.css 引入到项目中index.css | ||
36 | 38 | ||
37 | - 参数option | 39 | - 参数option |
38 | 40 |
-
Please register or login to post a comment