{"id":30330031,"url":"https://github.com/sonofmagic/deep-in-vue","last_synced_at":"2025-08-31T23:42:24.617Z","repository":{"id":287604855,"uuid":"965240563","full_name":"sonofmagic/deep-in-vue","owner":"sonofmagic","description":"vue 编译本质论 ","archived":false,"fork":false,"pushed_at":"2025-07-29T09:40:36.000Z","size":2260,"stargazers_count":14,"open_issues_count":1,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-29T09:44:21.364Z","etag":null,"topics":["compiler","deep","deep-in-vue","vue"],"latest_commit_sha":null,"homepage":"https://deep-in-vue.icebreaker.top","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sonofmagic.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":["sonofmagic"],"custom":["https://github.com/sonofmagic/sponsors"]}},"created_at":"2025-04-12T18:09:39.000Z","updated_at":"2025-07-29T09:40:40.000Z","dependencies_parsed_at":null,"dependency_job_id":"954008e0-fec1-4d37-b18a-6399294cd2e1","html_url":"https://github.com/sonofmagic/deep-in-vue","commit_stats":null,"previous_names":["sonofmagic/only-vue-runtime","sonofmagic/deep-in-vue"],"tags_count":0,"template":false,"template_full_name":"sonofmagic/monorepo-template","purl":"pkg:github/sonofmagic/deep-in-vue","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sonofmagic%2Fdeep-in-vue","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sonofmagic%2Fdeep-in-vue/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sonofmagic%2Fdeep-in-vue/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sonofmagic%2Fdeep-in-vue/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sonofmagic","download_url":"https://codeload.github.com/sonofmagic/deep-in-vue/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sonofmagic%2Fdeep-in-vue/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270932698,"owners_count":24670250,"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","status":"online","status_checked_at":"2025-08-18T02:00:08.743Z","response_time":89,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["compiler","deep","deep-in-vue","vue"],"created_at":"2025-08-18T02:08:00.261Z","updated_at":"2025-08-18T02:08:01.308Z","avatar_url":"https://github.com/sonofmagic.png","language":"TypeScript","funding_links":["https://github.com/sponsors/sonofmagic","https://github.com/sonofmagic/sponsors"],"categories":[],"sub_categories":[],"readme":"# deep in vue\n\n本仓库是一个基于 `vue` 的学习项目\n\n[文档阅读网站](https://deep-in-vue.netlify.app/)\n\n## 介绍\n\n这个项目编写的目的为，帮助我们更好的理解 `vue` 的运行机制，以及 `vue` 的编译原理。\n\n在这里，你会体会到:\n\n1. `vue`/`[jt]sx` 文件的本质\n2. `script setup` 和 `script` 的区别\n3. `.vue` 的编译时到底做了什么\n4. 以及何为 `vue` 的编译时优化(本项目直接使用渲染函数来做，所以没有任何的编译器优化)\n5. 分辨哪些是编译时指令，什么是运行时指令\n\n## 运行环境\n\n1. `Nodejs@LTS`(22.x)\n2. `pnpm@10`\n\n## 代码目录\n\n- `apps/only-vue-runtime` 为纯运行时版本\n- `apps/fully-compiled` 为全编译器版本\n- `packages/*` 一些实验性的包\n\n## 运行方式\n\n```bash\n# 安装包\npnpm i\n# 开发环境\npnpm dev\n```\n\n## 许可证\n\n本仓库下的文章(所有的 `md` 文件) 为 [CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh-hans)\n\n所有的代码 (`js/ts` 文件) 为 [MIT](https://opensource.org/licenses/MIT)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsonofmagic%2Fdeep-in-vue","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsonofmagic%2Fdeep-in-vue","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsonofmagic%2Fdeep-in-vue/lists"}