# textreader **Repository Path**: c-a-r-d-e-n/textreader ## Basic Information - **Project Name**: textreader - **Description**: 网页端文本阅读器 - **Primary Language**: HTML - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 2 - **Forks**: 0 - **Created**: 2022-10-30 - **Last Updated**: 2024-05-17 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # ebook > A Vue.js project > > 内容组成:html,,css,scss,javascrip,vue,indexeddb,vue-contextmenujs,element-ui,vue-router,epubjs ## 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). ## 问题 若报python错误或sass错误 ```bash npm install --global --production windows-build-tools #卸载node-sass npm uninstall node-sass npm install node-sass@4 ``` 在Vue中组件注册时,注册名称中如果使用了常见的驼峰命名法,在使用时必须使用 ‘-’ 隔开,并且在大写得换成小写的字母 相对路径不带/,绝对路径带/ ```html ebook ``` 且router.js的children的Ebook的Path不带/ 必须在Eshelf(即父组件)存在用于渲染组件,否则url改变单内容无反应 in db_books_config.js >https://blog.csdn.net/lb1135909273/article/details/119727174 indexdb使用方法 右键菜单的插件 >vue-contextmenujs 使用@media进行样式自动适应 > @media screen and (max-width: 800px) { > width: 180px !important; >} 使用!important取消样式层级覆盖 >像element.style覆盖自己定义的样式