🚧 Under Construction 🚧
version: 0.1.0
· Project based on epub.js
· Fork Repo BookReaderAngular
- DevEnvironment:
Node.js v14.16.1
+AngularCLI v11.2.8
+Win32 x64
- DevLang:
HTML
,TypeScript
,JS
,CSS
- DevTool:
Visual Studio Code
- Install
Node.js
(LTS version)
- Visit the official website of Node.js
- Download the stable version according to your OS, Win x64 installer
- Install the msi to your system in the default directory
- Run command
node version
or usewhere node
to locate the installation directory
if no TypeScript
(optional, globe)
npm install -g typescript
- Install
AngularCLI
by NPM source
- Run
node -v
npm -v
to check the node.js version - Run
npm install -g @angular/cli
- Run
ng v
to confirm the result - if fail, install it again
npm uninstall -g angular-cli
npm install -g @angular/cli@latest
or locate the directory of your project, then Run
npm i --save-dev @angular-devkit/core
Clone the repo https://github.com/5iCruise/epubreader
Run ng build
to build the project.
The build artifacts will be stored in the dist/
directory. Use the --prod
flag for a production build.
Run ng serve
for a dev server.
visit http://localhost:4200/
ng build --prod --output-path docs --base-href /EpubReader/
When the build is complete, make a copy of docs/index.html and name it docs/404.html . Commit your changes and push.
On the GitHub project page, configure it to publish from the docs folder.
Then visit https://darkwarrior2025.xyz/epubreader/
- 在 vecel.app 部署应用;
- 改进 书签、文摘 功能,实现 本地化 存储;
- 创建 Docker Image;
- 创建 Electron 项目 (本地化/离线);
- 部署轻量化PWA, 实现部分资料的在线存储;