kenberkeley / vue-demo

Vue.js 示例项目 · 简易留言板。本项目拥有完善的文档说明与注释,让您快速上手 Vue.js 开发 SPA。Webpack / ES6 + Babel / Vue Router / (Vue Resource?) / (Vue Validator?) / (Vuex?) —— An Excellent Vue Starter with Best Practice / 最佳实践
https://kenberkeley.github.io/vue-demo/dist
Apache License 2.0
1.29k stars 410 forks source link

希望可以做 vue2 的版本 #12

Closed imagine10255 closed 7 years ago

imagine10255 commented 7 years ago

很棒的Demo 希望可以做 vue2 的版本

kenberkeley commented 7 years ago

最近在项目执行中,发现本 demo 的一些问题 尤其是 components/views/ 的区别

往后会把 components/ 中的一些所谓的 容器组件(抄袭 React 的说法) 移到 views/ 中 使得 components/ 存放的是纯粹的、封装完好的组件

好了,在此回应您的需求 由于 Vue 的版本与项目的组织架构并没有特别大的关联 因此您也可以自行搭建出 Vue 2 版本的项目结构

imagine10255 commented 7 years ago

感謝您的回覆!目前還在學習中 因為會有些在 Vue 1 版本時的方法 被 Vue 2 廢除 所以學習 Vue 1 的架構再轉到 Vue 2 會有些混亂

kenberkeley commented 7 years ago

其实很多项目一旦做下来,基本就不会折腾说要升级版本 当然,如果您是为未来的升级考虑,那还不如直接上手 Vue 2 或遵循 http://cn.vuejs.org/v2/guide/migration.html 避免使用部分废弃特性

kenberkeley commented 7 years ago

Vue2 脚手架已出!!! #26