Giter Site home page Giter Site logo

zhihu-daily-byvuejs's Introduction

知乎日报 vuejs版

开发框架:vue2.0全家桶(vue.js,vuex,vue-router) 构建工具: webpack css预编译工具: less babel:preset-es2015,stage-3,由于使用了 async/await,所以需要babel-polyfill

此版本不包括离线下载、查看评论、没有做错误处理等。

功能包括

  • 查看最新消息
  • 查看主题列表
  • 查看主题内容
  • 查看文章详情

预览

使用vue1.0开发的版本已经停止维护和预览。 2.0版本demo预览 <--- api域名没重新备案,暂时访问不了

使用

git clone [email protected]:GaryChangCN/zhihu-daily-byVuejs.git
yarn install
yarn run server
yarn run dev

在server.js中更改后端host地址。

API

api来源于 @izzyleung 并使用node.js进行二次封装, 项目灵感来源于 @hilongjw

API使用,

所有uri格式相同除了把host改成了本地 localhost:9999

tips

图片会提示图片只允许在知乎使用 我目前没有好的解决方式,若直接使用api返回的图片地址,知乎会直接返回403,我这里使用了node来代理更改referer头获取图片。使用方式是新建一个全局filter image

vue1.0

分支1.0

截图

截图分为使用1.0开发的版本和2.0开发的版本

2.0版本

图片一 图片二 图片三

1.0版本

图片一 图片二 图片三

License

MIT

zhihu-daily-byvuejs's People

Contributors

dependabot[bot] avatar garychangcn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

zhihu-daily-byvuejs's Issues

这个项目克隆到本地,跑不起来啊

我通过命令行在app.js的根目录下,执行了node app.js,然后在浏览器里面访问localhost:8088,浏览器报错,访问不了。然后我看了源码,也没找到首页的路由,作者能说说,首页的路由在哪?而且我webpack打包也出错了

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.