Giter Site home page Giter Site logo

linecode / zhihu-daily-byvuejs Goto Github PK

View Code? Open in Web Editor NEW

This project forked from garychangcn/zhihu-daily-byvuejs

0.0 2.0 0.0 70 KB

使用vue做的知乎日报,包括vue1.0和vue2.0

Home Page: http://garychang.cn/show/zh-vue2.html

License: MIT License

JavaScript 43.30% Vue 53.13% CSS 3.58%

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

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.