...
|
...
|
@@ -16,7 +16,7 @@ |
|
|
|
|
|
- 使用
|
|
|
|
|
|
express 服务端路由
|
|
|
1. express 服务端路由
|
|
|
|
|
|
res.render('index', {
|
|
|
helpers: {
|
...
|
...
|
@@ -30,9 +30,11 @@ |
|
|
}
|
|
|
});
|
|
|
|
|
|
handlebars view
|
|
|
2. handlebars view
|
|
|
|
|
|
{{{ pagination paginationOpts }}}
|
|
|
{{{ pagination paginationOpts }}}
|
|
|
|
|
|
3. 将public/css/components/pagination.css 引入到项目中index.css
|
|
|
|
|
|
- 参数option
|
|
|
|
...
|
...
|
|