{"id":13562180,"url":"https://github.com/57code/vue-interview","last_synced_at":"2025-05-16T05:00:20.664Z","repository":{"id":37333278,"uuid":"258128920","full_name":"57code/vue-interview","owner":"57code","description":"总结前端面试中经典的vue相关题目，分析最佳回答策略。加面试群关注公众号”村长学前端“。","archived":false,"fork":false,"pushed_at":"2023-02-23T13:56:49.000Z","size":4246,"stargazers_count":1315,"open_issues_count":6,"forks_count":235,"subscribers_count":22,"default_branch":"master","last_synced_at":"2025-04-08T14:12:43.674Z","etag":null,"topics":["vue","vue-router","vue3","vuejs","vuex"],"latest_commit_sha":null,"homepage":"https://www.bilibili.com/video/BV1Se4y1n7Qx/","language":"HTML","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/57code.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":"2020-04-23T07:36:32.000Z","updated_at":"2025-04-08T04:03:18.000Z","dependencies_parsed_at":"2024-01-14T03:46:10.295Z","dependency_job_id":"5b0f474e-0b78-4ac9-900d-2c45a0d8f8fb","html_url":"https://github.com/57code/vue-interview","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/57code%2Fvue-interview","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/57code%2Fvue-interview/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/57code%2Fvue-interview/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/57code%2Fvue-interview/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/57code","download_url":"https://codeload.github.com/57code/vue-interview/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254471028,"owners_count":22076582,"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":["vue","vue-router","vue3","vuejs","vuex"],"created_at":"2024-08-01T13:01:05.468Z","updated_at":"2025-05-16T05:00:20.610Z","avatar_url":"https://github.com/57code.png","language":"HTML","readme":"# vue-interview\n总结面试中经典的vue相关题目，分析最佳回答策略，期待您的`star`，您的支持是我坚持的最大的动力\n\n## 面试群\n关注`村长学前端`，回复“加群”，加入面试群一起卷~\n\u003cimg src=\"https://gitee.com/57code/picgo/raw/master/image-20220210162539024.png\" alt=\"i4\" style=\"zoom:50%;\" /\u003e\n\n## 视频讲解\n关注村长B站账号观看视频讲解\n[【Vue面试专题】金三银四必备！56道经典Vue面试题详解](https://www.bilibili.com/video/BV11i4y1Q7H2/)\n\n## 目录\n1. [v-if和v-for哪个优先级更高？](public/01-vif-vfor/README.md)\n2. [你知道key的作用吗？](public/02-key/README.md)\n3. [能说说双向绑定以及它的实现原理吗？](public/03-v-model/README.md)\n4. [你了解diff算法吗？](public/04-diff/README.md)\n5. [vue中组件之间的通信方式？](public/05-communication/README.md)\n6. [简单说一说你对vuex理解？](public/06-vuex/README.md)\n7. [vue-router中如何保护路由？](public/07-route-guard/README.md)\n8. [你了解哪些Vue性能优化方法？](public/08-vue-perf/README.md)\n9. [你知道nextTick吗，它是干什么的，实现原理是什么？](public/09-nextTick-v3/README.md)\n10. [说一说你对vue响应式理解？](public/10-reactivity/README.md)\n11. [你如果想要扩展某个Vue组件时会怎么做？](public/11-component-extends/README.md)\n12. [nextTick实现原理](public/12-nextTick-v2/README.md)\n13. [Vue2和Vue3中的响应式原理对比，分别的具体实现思路](public/13-reactivity-v2vsv3/README.md)\n14. [说说 vue2/vue3 的生命周期异同](public/19-lifecycle/README.md)\n15. [watch和computed的区别以及怎么选用?](public/15-watch-computed/README.md)\n16. [说一下父组件和子组件创建和挂载顺序](public/16-create-mount/README.md)\n17. [vue组件为什么只能有一个根元素?](public/17-only-one-root/README.md)\n18. [你都知道哪些Vue3.0的新特性？](public/18-v3-feature/README.md)\n19. [简述 Vue 的生命周期以及每个阶段做的事](public/19-lifecycle/README.md)\n20. [说说你对虚拟 DOM 的理解？](public/20-vdom/README.md)\n21. [怎么缓存当前的组件？](public/21-cache-comp/README.md)\n22. [说说从 template 到 render 处理过程](public/22-template-render/README.md)\n23. [如果让你从零写一个vue路由，说说你的思路](public/14-router/README.md)\n24. [Vue 3.0的设计目标是什么？做了哪些优化?](public/24-v3-design/README.md)\n25. [你了解哪些Vue性能优化方法？](public/25-performance/README.md)\n26. [Vue组件为什么只能有一个根元素?](public/26-one-root/README.md)\n27. [你有使用过vuex的module吗？](public/27-vuex-module/README.md)\n28. [怎么实现路由懒加载呢？](public/28-route-lazy-load/README.md)\n29. [ref和reactive异同](public/29-ref-reactive/README.md)\n30. [watch和watchEffect异同](public/30-watch-watchEffect/README.md)\n31. [SPA、SSR的区别是什么](public/31-SPA-SSR/README.md)\n32. [你写过自定义指令吗？使用场景有哪些？](public/32-directive/README.md)\n33. [说下\\$attrs和$listeners的使用场景](public/33-%24attrs/README.md)\n34. [v-once的使用场景有哪些？](public/34-v-once/README.md)\n35. [什么是递归组件？举个例子说明下？](public/35-recursive-component/README.md)\n36. [异步组件是什么？使用场景有哪些？](public/36-async-component/README.md)\n37. [你是怎么处理vue项目中的错误的？](public/37-error-handle/README.md)\n38. [子组件能修改父组件数据吗？](public/38-child-modify-parent/README.md)\n39. [Vue要做权限管理该怎么做？控制到按钮级别的权限怎么做？](public/39-permission/README.md)\n40. [从0到1自己构架一个vue项目，说说有哪些步骤、哪些重要插件、目录结构你会怎么组织](public/40-create-vue-proj/README.md)\n41. [实际工作中，你总结的vue最佳实践有哪些？](public/41-best-practice/README.md)\n42. [Vue实例挂载的过程中发生了什么?](public/42-instance-mount/README.md)\n43. [vue-loader是什么？它有什么作用？](public/43-vue-loader/README.md)\n44. [如何获取动态路由并获取其参数？](public/44-dynamic-route/README.md)\n45. [如果让你从零开始写一个vuex，说说你的思路](public/45-vuex-design/README.md)\n46. [vuex中actions和mutations有什么区别？](public/46-mutations-actions/README.md)\n47. [使用vue渲染大量数据时应该怎么优化？说下你的思路！](public/47-big-data-performance/README.md)\n48. [怎么监听vuex数据的变化？](public/48-watch-vuex-state/README.md)\n49. [router-link和router-view是如何起作用的？](public/49-router-link-router-view/README.md)\n\n### 欢迎把你想听的题目以issue的方式提给我\n### 欢迎你加入村长的项目已pr形式提交题目和解答\n","funding_links":[],"categories":["HTML"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F57code%2Fvue-interview","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F57code%2Fvue-interview","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F57code%2Fvue-interview/lists"}