An open API service indexing awesome lists of open source software.

https://github.com/ronething/web-reader

web 书籍阅读器
https://github.com/ronething/web-reader

Last synced: 8 months ago
JSON representation

web 书籍阅读器

Awesome Lists containing this project

README

          

# ebook-demo

> A Vue.js project

## Build Setup

``` bash
# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

# build for production and view the bundle analyzer report
npm run build --report
```

For a detailed explanation on how things work, check out the [guide](http://vuejs-templates.github.io/webpack/) and [docs for vue-loader](http://vuejs.github.io/vue-loader).

---

`epubjs` 核心工作原理

![](https://i.loli.net/2018/12/27/5c243d1fd3a84.png)

`transition` 动画原理

![](https://i.loli.net/2018/12/27/5c246e13d82e5.png)

![](https://i.loli.net/2018/12/27/5c246e1ca39d6.png)

---

通过 [`epubcfi`](http://www.idpf.org/epub/linking/cfi/epub-cfi.html) 定位

![](https://i.loli.net/2018/12/27/5c24e13635e1f.png)

---

最终效果

![](https://i.loli.net/2018/12/28/5c259a0a53c64.png)

![](https://i.loli.net/2018/12/28/5c259a40e4d13.png)