Vue v1.0.22 发布了。
新特性:
new option:
propsData. This option allows you to pass props to an instance created imperatively withnewwithout having to wrap it in a parent instance. This is primarily intended to make unit testing easier. docsnew option:
extends. Allows declaratively extending another component (could be either a plain options object or a constructor) without having to useVue.extend. This is primarily intended to make it easier to extend between single file components. (@pespantelis) docs#2676 Added support for decimal places in currency filter (@phanan) docs
Bugs 修复:
#2642 reserve non-resolved
isattribute for native custom elements#2663 fix handling v-if along with v-for on a template tag (@simplesmiler)
#2666 remove
:isattribute even when component is cached (@GuillaumeLeclerc)#2670 ensure dynamic method resolution for component inline v-on
#2686 fix deep watch on objects with circular references (@flytreeleft)
#2687 fix
datafunction being called twice (@blake-newman)#2707 fix modifiers being incorrectly passed to terminal directives (@blake-newman)
#2723 default slot should use fallback content if it has only whitespace
#2731 fix
Vue.deletewhen used on a Vue instance (@Jinjiang)#2745 handle v-for anchor position when moved by external lib
#2750 ensure correct watcher invocation order for changes triggered inside user watchers
#2773 fix
v-modelcursor position by only setting value property when value is changed (@zigomir)#2789 do not merge empty class on component placeholder
#2805 treat template tags as string templates to workaround iOS Safari 9 crash bug
#2808
v-bind:classmultiple class names support for array syntax
下载地址:
引用来自“JRoger_”的评论
反正用了之后我觉得angular可以下课了。只是这个的前端trmplatr不能直接支持一个静态页模板。引用来自“hentai”的评论
可以的哦引用来自“JRoger_”的评论
给我个最简单的示例引用来自“JRoger_”的评论
反正用了之后我觉得angular可以下课了。只是这个的前端trmplatr不能直接支持一个静态页模板。引用来自“hentai”的评论
可以的哦引用来自“JRoger_”的评论
反正用了之后我觉得angular可以下课了。只是这个的前端trmplatr不能直接支持一个静态页模板。引用来自“艾边成”的评论
vue+webpack引用来自“JRoger_”的评论
反正用了之后我觉得angular可以下课了。只是这个的前端trmplatr不能直接支持一个静态页模板。