GithubHelp home page GithubHelp logo

zhihudaily-vue's Introduction

zhihudaily-vue

A Vue.js project

声明

本项目所有文字图片等稿件内容均由 知乎 提供,获取与共享之行为或有侵犯知乎权益的嫌疑。若被告知需停止共享与使用,本人会及时删除整个项目。

请您了解相关情况,并遵守知乎协议。

同功能react版项目地址:

https://github.com/yatessss/zhihudaily-react

运行截图

运行动图

播放请点击这里

在线地址

需打开chrome浏览器的手机模拟功能,来获得比较好的浏览效果

demo地址 (域名被回收了,目前还没新的。。请clone后本地运行。。)

手机可扫码

项目总结(未完)

博客地址

Dependencies

"dependencies": {
    "babel-runtime": "^6.0.0",
    "fastclick": "^1.0.6",
    "lib-flexible": "^0.3.2",
    "swiper": "^3.3.1",
    "vue": "^1.0.21",
    "vue-resource": "^0.7.0",
    "vue-router": "^0.7.13"
  }

Build Setup

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

# run unit tests
npm run unit

# run e2e tests
npm run e2e

# run all tests
npm test

开发环境可以使用allow-control-allow-origin这个插件进行跨域~

For detailed explanation on how things work, checkout the guide and docs for vue-loader.

License

MIT license.

感谢 ZhihuDailyPurify整理了API

zhihudaily-vue's People

Contributors

yatessss avatar zcbenz 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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

zhihudaily-vue's Issues

想请教下你demo的地址是自己搭的服务器吗?

如题想请教下你demo的地址是自己搭的服务器吗?如果不是,那么你的静态页面是放到哪里去呀?然后nginx的是一个反向代理,那么最终的服务器其实是哪里呀?知乎提供的吗?其实就是一个问题:静态页面放到哪里去?
语言组织能力不怎么好别介意。

请教一个问题

您好,请教一个问题,您是如何实现,从列表页点击某一个选项之后进入详情页,从详情页点击返回,列表页还能定位到上次浏览的位置?

failed run dev , how to fix this

NODE_ENV=dev webpack-dev-server --devtool eval --progress --colors --hot --con tent-base build

'NODE_ENV' ▒▒▒▒▒ڲ▒▒▒▒ⲿ▒▒▒Ҳ▒▒▒ǿ▒▒▒▒еij▒▒▒
▒▒▒▒▒▒▒▒▒ļ▒▒▒

npm ERR! Windows_NT 6.1.7601
npm ERR! argv "D:\soft\nodejs\node.exe" "C:\Users\Administrator\AppData\R oaming\npm\node_modules\cnpm\node_modules\npm\bin\npm-cli.js" "--userconf ig=C:\Users\Administrator\.cnpmrc" "--disturl=https://npm.taobao.org/mirrors/ node" "--registry=https://registry.npm.taobao.org" "run" "dev"
npm ERR! node v6.9.1
npm ERR! npm v3.10.9
npm ERR! code ELIFECYCLE
npm ERR! [email protected] dev: NODE_ENV=dev webpack-dev-server --devtoo l eval --progress --colors --hot --content-base build
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] dev script 'NODE_ENV=dev webpack -dev-server --devtool eval --progress --colors --hot --content-base build'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the zhihudaily-react-2 pa ckage,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! NODE_ENV=dev webpack-dev-server --devtool eval --progress --colors --hot --content-base build

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.