How do webapp mobile readers import local txt files?

recently, it is not very clear about the implementation of the function of importing local books into the bookshelf.
the specific process of this function is:
1. Click Import to read the file manager selected file (here limited to ePub eBook format file)
2. After import, the book is added to the shelf
3. Click on the imported book on the shelf to read (I have implemented the reading function)

the technologies currently used are:
front-end vue framework, background nodejs
interface h5css3 webapp

mainly because I don"t understand what information is saved on the shelf when importing. You can read the book the next time you click (and how to combine it with the function of saving reading progress)

I just hope someone can provide a general idea of how to implement it.


in the end, what you need to save must be the content, that is, the content of the imported file.
you can read the content when it is imported, save it, or transfer the file directly to the background, and read out the contents of the file in the background

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b331c0-2be64.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b331c0-2be64.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?