前几天学了Smarty模板引擎解决了我以前一直困扰的分工问题,但当获取到ajax返回的数据时,还得先用js生成标签,然后在把元素加到标签内,最后再把标签放到HTML中。。。今天发现这几个框架(应该)都可以解决这个问题,但是不知道从哪个开始学?不知道根据项目的复杂程度应该选哪个框架?希望前辈们给点建议,十分感谢!
怪我咯2017-05-15 17:11:30
Vue, it’s small and beautiful, and it’s fast to learn. There are also translated Chinese documents
http://cn.vuejs.org/
世界只因有你2017-05-15 17:11:30
vue. I just happened to be studying again recently.
https://github.com/huang30351...
Vue+VueRouter+webpack+Less+VueResource implements a weather client
伊谢尔伦2017-05-15 17:11:30
Don’t think about it, it must be Vue, it is easy to get started, the threshold is low, there are many tutorials, and it is better when combined with webpack
怪我咯2017-05-15 17:11:30
Vue’s module is a bit disgusting. The template instance and styles cannot be separated when they are put together. It is very inconvenient to write in an editor.
世界只因有你2017-05-15 17:11:30
There are so many people recommending vue... I'm one of them, take your time, you have to play it again in the end anyway
高洛峰2017-05-15 17:11:30
An article I just saw: How do you feel about the migrant worker leaving because Teambition is a React technology stack?
For reference only, several great people are here, including the Vue author~