xnal / readmore Goto Github PK
View Code? Open in Web Editor NEW一个基于Vue2全家桶和追书神器api开发的读书WebApp。
Home Page: http://www.tdon.site/read-more/
一个基于Vue2全家桶和追书神器api开发的读书WebApp。
Home Page: http://www.tdon.site/read-more/
不懂,希望支持;毕竟电信经常劫持http,加入广告,太恶心了,希望配置为https方式
您好,我把你的项目clone下来,npm install 后,npm run dev发现报错:
> Listening at http://localhost:8080
(node:13372) UnhandledPromiseRejectionWarning: Error: Exited with code 4
at ChildProcess.<anonymous> (/home/yeoman/文档/learn-projects/ReadMore/node_modules/opn/index.js:83:13)
at Object.onceWrapper (events.js:285:13)
at ChildProcess.emit (events.js:197:13)
at maybeClose (internal/child_process.js:984:16)
at Socket.stream.socket.on (internal/child_process.js:401:11)
at Socket.emit (events.js:197:13)
at Pipe._handle.close (net.js:611:12)
(node:13372) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 3)
(node:13372) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
OS: Linux (4.19.30-1-MANJARO)
node: v11.11.0
npm: 6.9.0
新手,第一次看见这种错误,暂时不知道如何解决。。网上找了一圈也没发现解决方案,是我的版本太新了么?
请教下,能加个qq吗
感谢,
read哪个组件为什么拿不到小说章节内容
[CLEAR_SEARCH_HISTORY](state) {
state.searchHistory.clear()
removeStore('SEARCHHISTORY')
}
比如阅读页面有一个 请求接口地址应该是 少了 /
这些都不是我想关注的,为什么看你的代码,我有点熟悉的感觉呢, 感觉你的代码风格很像那个vue开源项目的bailicangdu/vue2-elm 40多k的star项目, 的风格很像哦,是不是有借鉴他其中的svg,api fetch 以及webpack打包配置的写法呢,哈哈哈哈。。。。如果是的话,难怪看的好熟悉的样子
你好,非常感谢你的开源,不过我部署的时候图标不能展现,还有阅读页面不能正常访问,本地环境可以。
fetchChapterContent(chapterId) {
api.getChapterContent(chapterId)
.then(data => {
// this.readContent.push({
// // contentTitle: data.title,
// contentList: data.isVip ? ['vip章节,请到正版网站阅读'] : data.cpContent.split('\n')
// });
this.isLoading = false;
this.$nextTick(function() {
this.isShowPageLoading = false;
})
})
},
这个data为undefind
不是很懂vue,node那一套,不过本地环境都有。dist打包打出来了,按照部署静态资源站的那套,把dist放到nginx虚拟站点里了。浏览器访问还是白屏。
不是清楚你在“开发中遇到的一些问题”里写的那些是干嘛的,是不是必须要做的。
反正按我理解,这应该就是个静态网站啊,用了axios去访问追书神器的接口,本身不需要任何服务端的东西吧?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.