{"id":13536389,"url":"https://github.com/walleeeee/daily-zhihu","last_synced_at":"2025-04-02T03:30:38.092Z","repository":{"id":215164740,"uuid":"84925302","full_name":"walleeeee/daily-zhihu","owner":"walleeeee","description":"基于Vue2.0的知乎日报单页应用","archived":false,"fork":false,"pushed_at":"2018-03-21T07:18:12.000Z","size":2578,"stargazers_count":528,"open_issues_count":1,"forks_count":142,"subscribers_count":21,"default_branch":"master","last_synced_at":"2024-11-03T01:33:08.340Z","etag":null,"topics":["vue","zhihu"],"latest_commit_sha":null,"homepage":"https://walleeeee.github.io/daily-zhihu/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/walleeeee.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2017-03-14T08:39:30.000Z","updated_at":"2024-03-03T04:11:24.000Z","dependencies_parsed_at":"2024-01-05T22:51:45.923Z","dependency_job_id":null,"html_url":"https://github.com/walleeeee/daily-zhihu","commit_stats":null,"previous_names":["walleeeee/daily-zhihu"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/walleeeee%2Fdaily-zhihu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/walleeeee%2Fdaily-zhihu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/walleeeee%2Fdaily-zhihu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/walleeeee%2Fdaily-zhihu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/walleeeee","download_url":"https://codeload.github.com/walleeeee/daily-zhihu/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246750783,"owners_count":20827782,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["vue","zhihu"],"created_at":"2024-08-01T09:00:38.328Z","updated_at":"2025-04-02T03:30:37.647Z","avatar_url":"https://github.com/walleeeee.png","language":"JavaScript","funding_links":[],"categories":["Demo示例","Resources","Awesome Vue.js [![Awesome](https://cdn.rawgit.com/sindresorhus/awesome/d7305f38d29fed78fa85652e3a63e154dd8e8829/media/badge.svg) ★101652](https://github.com/sindresorhus/awesome)","Examples [🔝](#readme)","Awesome Vue.js [![Awesome](https://cdn.rawgit.com/sindresorhus/awesome/d7305f38d29fed78fa85652e3a63e154dd8e8829/media/badge.svg)](https://github.com/sindresorhus/awesome)"],"sub_categories":["Examples"],"readme":"# 知乎日报\n\n## 声明\napi来自知乎( [知乎Zhihu](http://www.zhihu.com/) ), 项目中所有内容的一切权利属于知乎, 本项目所有内容及代码仅供私下学习参考, 不得作为其他用途\n\n## 简介\n- 学习Vue.js蛮久的了, 也看了不少别人写的知乎日报, 干脆自己也拿日报练练手, 该项目使用vue-cli构建、打包, 配合vue全家桶（vue、vuex、vue-router）进行编码、使用axios进行资源请求\n\n- api使用node.js进行二次封装解决跨域问题, node使用[Heroku](https://www.heroku.com/)进行部署\n\n- 使用sketch设计页面, 向着简约的方向做了一版\n\n- 图片防盗链问题使用以下meta标签解决。http协议中如果从一个网页跳到另一个网页，http头字段里面会带个referer，图片服务器通过检测referer是否来自规定域名，来进行防盗链。如果没有referer，服务器会认为是浏览器直接打开了文件，所以可以正常显示。\n\n  ``` bash\n  \u003cmeta name=\"referrer\" content=\"never\"\u003e\n  ```\n- 欢迎issue、fork、star😁\n\n## 预览\n\n![预览](https://github.com/walleeeee/daily-zhihu/blob/master/static/demo.jpg)\n\n## [Demo](https://walleeeee.github.io/daily-zhihu/)\n\n建议在手机或F12手机模式下浏览\n\n## 运行方法\n\n``` bash\nnpm install\nnpm run dev\n\n```\n## Tip\n\n``` bash\nThis relative module was not found:\n./views/con in ./src/router.js\n\n```\n\n好多同学运行项目报如上错误，应该是 windows 系统不允许创建名称为 con 的文件解压错误所致，现在 con 文件已经修改为 article ，windows下解压运行不会再报错了😎\n\n## License\n\n[MIT](https://opensource.org/licenses/MIT)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwalleeeee%2Fdaily-zhihu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwalleeeee%2Fdaily-zhihu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwalleeeee%2Fdaily-zhihu/lists"}