react-book-reader

1.0.0 • Public • Published

an easy way to embed a reader into your webapp

npm install react-book-reader --save

And in your vue-component...

import { ReactReader } from 'react-book-reader'

const App = () => {
  return (
    <div style={{ height: '100vh' }}>
      {/* Supports EPUB, MOBI, KF8 (AZW3), FB2, CBZ, PDF */}
      <ReactReader url="/files/啼笑因缘.azw3" />
    </div>
  )
}

export default App

Package Sidebar

Install

npm i react-book-reader

Weekly Downloads

5

Version

1.0.0

License

none

Unpacked Size

515 kB

Total Files

17

Last publish

Collaborators

  • jinhuan