{"id":13536465,"url":"https://github.com/shaqihe/life-app-vue","last_synced_at":"2025-04-02T03:30:46.007Z","repository":{"id":215851424,"uuid":"74320161","full_name":"shaqihe/life-app-vue","owner":"shaqihe","description":"使用vue2，完成一个多功能集合到小webapp","archived":false,"fork":false,"pushed_at":"2018-05-03T09:04:52.000Z","size":1897,"stargazers_count":73,"open_issues_count":2,"forks_count":18,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-11-03T01:33:13.335Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Vue","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/shaqihe.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-11-21T02:49:57.000Z","updated_at":"2024-07-19T04:39:50.000Z","dependencies_parsed_at":null,"dependency_job_id":"f350314a-c67b-499c-9eb3-c6e78bc2b1e0","html_url":"https://github.com/shaqihe/life-app-vue","commit_stats":null,"previous_names":["shaqihe/life-app-vue"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shaqihe%2Flife-app-vue","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shaqihe%2Flife-app-vue/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shaqihe%2Flife-app-vue/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shaqihe%2Flife-app-vue/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shaqihe","download_url":"https://codeload.github.com/shaqihe/life-app-vue/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246750852,"owners_count":20827792,"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":[],"created_at":"2024-08-01T09:00:39.914Z","updated_at":"2025-04-02T03:30:46.002Z","avatar_url":"https://github.com/shaqihe.png","language":"Vue","funding_links":[],"categories":["Demo示例"],"sub_categories":[],"readme":"# life-app-vue\n[在线效果预览][1]\n\u003e A Vue.js project\n\n## 点个star 收藏一下岂不是更好😆！\n[博客链接，点击查看(我会陆续更新一下这个demo的几个点，如：文件划分、接口代理、nginx配置、缓存优化等)][2]\n## Build Setup\n\n``` bash\n本地调试启动：\n\n第零步：代码clone到本地： git clone https://github.com/shaqihe/life-app-vue.git\n\n# install dependencies\n第一步：npm install（\n           或者用淘宝的cnpm代理安装会更快，方法是：\n             1.安装cnpm：npm install -g cnpm --registry=https://registry.npm.taobao.org \n             2.用cnpm代理npm安装： cnpm install\n       ）\n\n# serve with hot reload at localhost:8088\n第二步：npm run dev\n\n\n打包：\n# build for production with minification\nnpm run build\n```\n\n 1. 在vue-cli2.0 脚手架基础上开发的\n 2. 方便管理，抽取了一下common文件，和cache文件\n 3. vuex是用在“智能机器人”对话的时候\n 4. 也是为了熟悉下vue的流程，功能上不太复杂\n 5. 样式用了sass，在移动适配用了‘rem方案’\n 6. 本地启动 上面两个步骤应该就能起来\n 7. 有问题交流可以issue留言交流\n \n\n##在线预览的是我通过nginx配置的，代码还会更新：\n\n**过几天会总结几个点的心得，包括下面几点：**\n\n在博客里我会陆续记录下开发的一些东西：\n\n - 项目的目录划分，vue的使用心得\n - 发布环境，前端代码单独部署，如何配合nginx\n - nginx的一些配置，和前后端分离异步接口反向代理\n - **前端性能的优化，前端缓存**(预览地址已经做前端代码永久缓存，你会发现第一次加载会慢一些，以后再访问会快不少，因为所以的前端代码都做了永久缓存策略)，打包策略(如何利用浏览器并行请求)等采用的方法\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  [1]: http://happy.g1024.top/\n  [2]: http://shaqihe.github.io/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshaqihe%2Flife-app-vue","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshaqihe%2Flife-app-vue","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshaqihe%2Flife-app-vue/lists"}