{"id":13755859,"url":"https://github.com/feng-fu/vue-cnode","last_synced_at":"2026-01-21T08:03:54.249Z","repository":{"id":143963463,"uuid":"79205432","full_name":"feng-fu/vue-cnode","owner":"feng-fu","description":"一个基于vue的cnode社区","archived":false,"fork":false,"pushed_at":"2017-02-18T02:03:20.000Z","size":38549,"stargazers_count":35,"open_issues_count":2,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-11-16T11:33:25.020Z","etag":null,"topics":["cnode","vue","vue-cnode"],"latest_commit_sha":null,"homepage":"http://fengfu.space/vue-cnode/dist/","language":"CSS","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/feng-fu.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-01-17T08:27:25.000Z","updated_at":"2018-06-10T11:45:38.000Z","dependencies_parsed_at":"2024-01-17T15:20:59.929Z","dependency_job_id":null,"html_url":"https://github.com/feng-fu/vue-cnode","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feng-fu%2Fvue-cnode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feng-fu%2Fvue-cnode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feng-fu%2Fvue-cnode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feng-fu%2Fvue-cnode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/feng-fu","download_url":"https://codeload.github.com/feng-fu/vue-cnode/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253358069,"owners_count":21895967,"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":["cnode","vue","vue-cnode"],"created_at":"2024-08-03T11:00:31.855Z","updated_at":"2026-01-21T08:03:54.209Z","avatar_url":"https://github.com/feng-fu.png","language":"CSS","readme":"# vue-cnode\n\n\u003e A Vue.js project base on cnode.org api\n\n\u003e 项目开发中，一个基于cnode社区api的vue 2.0应用\n\n\u003e 主要依赖： vue-router／axios／mint-ui／marked\n\n\u003e axios代替vue-resource成为一代新宠，不得不学\n\n\u003e mint-ui作为新一代的UI库，基于vue深度定制，值得一用\n\n\u003e 预期功能：\n\u003e * 各模块贴子的浏览   √\n\u003e * 登陆及退出        √\n\u003e * 回帖，顶帖        √\n\u003e * 待续\n\n\n已打包为android app [点击下载](http://fengfu.space/vue-cnode/android/package.apk)\n\n## Build Setup\n\n``` bash\n# install dependencies\nnpm install\n\n# serve with hot reload at localhost:8888\nnpm run dev\n\n# build for production with minification\nnpm run build\ncd dist\nopen index.html in a server.\n```\n\nFor detailed explanation on how things work, checkout the [guide](http://vuejs-templates.github.io/webpack/) and [docs for vue-loader](http://vuejs.github.io/vue-loader).\n\n\n# 基于vue.js的cnode社区\n\n### 分享\n\n[线上预览](http://fengfu.space/vue-cnode/dist/index.html)\n\n[android App](http://fengfu.space/vue-cnode/android/package.apk)\n\n[github 地址](https://github.com/feng-fu/vue-cnode) \n\n 厚着脸皮来要个star\n\n### 缘起\n一直想着学习一个框架，现阶段而言，最火的框架到该就是vue.js，angular和React了，前前后后纠结了一阵，终于从入门到放弃了几次之后，痛定思痛把目光放在vue.js上，虽不能说真的学会了，但是终归还是能够写出一个入不了法眼的东西来了，就顺便着记一下这过程中学过的东西吧，也算是给自己的一个总结。\n\n### 初步\n学一个东西，最好的教材当然是它的官方文档，并且对于vue而言，可能是拥有最完整中文社区的框架了吧，按着教程一步步的走过一遍之后还是有了一个初步的理解，有时候总想着去找一些博客看看，最后发现这些博客还不都是对这官方文档的依葫芦画瓢，甚至有的还画的不那么真切，所以静下心来画个两个晚上的时间将所有的例子都是先一遍，这真的就算是入门了啊。\n\n### 巧遇\n\n都说学一个东西最好的方式就是实践，所以纸上谈兵想来不受人待见，这也不是没有道理的事情，至少来说，在自己一次次的摸索中，可以发现自己所欠缺的东西，这时候恰巧可而去学一学，说不定下次再用到的时候就变得的心应手了，这不，可能你和我一样，在看上面例子的时候自己已经厌倦，甚至都不能快乐的将全部的内容看完，更别说全部敲上一遍了（到这里顺便鄙视一波在上弥漫说让别人画两个晚上敲完例子的自己，毕竟自己都没有这个闲心），闲时总喜欢逛逛gayhub，看看有什么好的东西，可以顺便练练手什么的，到这里总算说道正题了，这不，搜到了一个基于cnode社区api的项目，这下可算是如获至宝了。\n\n### 实践\n\n我发现自己正在将一个技术分享帖往闲碎小说的方向发展，接下来终于使正题了，在这里呢，我选用了可算是现阶段的vue.js全家桶，包括vue 2.0 vue-router axios vuex这几项东西，然后选择了mint-ui作为懒得写样式和不会设计的自己的一个替代品，开始了这个随性而起的项目。\n\n既然提到用到这些技术，当然用到了它们的招牌功能，可能有人说不该用到vuex，那不就说图个新鲜嘛，刚学的心情不都想着要全部实践一番，最后用Cordova进行了打包，这里只有android App，到现在我都还没搞明白打包成IOS App需要什么样的条件，我还以为只要我在模拟器中能跑起来就能找到安装包，看来还是我自己太天真，毕竟我没有苹果的开发者账号。\n","funding_links":[],"categories":["CSS"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffeng-fu%2Fvue-cnode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffeng-fu%2Fvue-cnode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffeng-fu%2Fvue-cnode/lists"}