{"id":19725420,"url":"https://github.com/easychen/vue-starter","last_synced_at":"2025-07-11T20:32:05.201Z","repository":{"id":145559620,"uuid":"46479909","full_name":"easychen/vue-starter","owner":"easychen","description":null,"archived":false,"fork":false,"pushed_at":"2018-01-22T16:08:06.000Z","size":108,"stargazers_count":27,"open_issues_count":0,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-29T23:34:45.876Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/easychen.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":"2015-11-19T08:53:53.000Z","updated_at":"2020-08-07T03:07:23.000Z","dependencies_parsed_at":null,"dependency_job_id":"e028a398-a6ae-42ae-8e34-2eb270a6cb81","html_url":"https://github.com/easychen/vue-starter","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/easychen/vue-starter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/easychen%2Fvue-starter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/easychen%2Fvue-starter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/easychen%2Fvue-starter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/easychen%2Fvue-starter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/easychen","download_url":"https://codeload.github.com/easychen/vue-starter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/easychen%2Fvue-starter/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264892035,"owners_count":23679208,"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-11-11T23:29:48.269Z","updated_at":"2025-07-11T20:32:05.175Z","avatar_url":"https://github.com/easychen.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Vue.js Starter\n\n## What\nVue Starter是从Vue hackernews clone里边分离出来的、不带业务逻辑的公用部分，目的是作为新Vue项目的起始。\n\n## 修改\n添加了Bootstrap，清理掉了业务相关的代码。加上了jQuery。\n\n## 使用\n\n``` bash\nnpm install\n# 开发:\nnpm run dev\n# 生成:\nnpm run build\n```\n\n## PS\n\nVue手册上其实并没有太多关于真实应用应该如何组织代码的说明。\n\n而Vue hackernews clone完整的整合了vue-route，还将组件直接分离成了独立的.vue的文件，在一个文件里边可以同时完成模板、脚本和样式的编写，默认配置了webpack的livereload，可以实时看到效果，非常方便。\n\n美中不足的是里边有很多逻辑代码，所以我清理掉后作为自己新项目的起始基础。\n\n在vue文件中写代码时，几乎完全遵循了标准vue组件的写法，但data属性是通过函数返回的，关于这点手册上有专门注明。\n\n在页面切换过程中，如果要预处理数据，请去vue-route的文档里边寻找细节。\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feasychen%2Fvue-starter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feasychen%2Fvue-starter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feasychen%2Fvue-starter/lists"}