芊雅企服
软件更新资讯

Vue.js 1.0.0 Alpha 4/0.12.14 发布

芊雅企服技术团队412 次浏览约 4 分钟读完

Vue.js 1.0.0 Alpha 4 发布,最新的绑定语法请看 #1173

重大改进

  • Literal directives now use the #= syntax instead of .=
  • Prop binding type indicators are now placed in the attribute name instead of the value
  • v-el and v-ref are deprecated and now use dedicate syntax
  • v-component has been deprecated in favor of the is attribute, which is now usable on any element.
  • The prefix global config has been deprecated.

新特性

  • v-else: must be used following an element with v-if.
    <div v-if="ok">OK</div>
    <div v-else>NOT OK</div>
  • Unsafe delimiters for HTML interpolation can now be configured separately:
    Vue.config.unsafeDelimiters = ['{!!', '!!}']

    Note in 1.0.0-alpha when you set Vue.config.delimiters, it will still implicitly update the unsafe delimiters following the current rules, but in 1.0.0-beta and above setting delimiterswill have no effect on unsafeDelimiters.

小改进

  • Removed overly aggressive “unobservable object” warnings.
  • slot attributes on transcluded content are now preserved.

Bug 修复

  • Fixed issue where minified build calling non-existent deprecation warning when using legacy syntax
  • #1249 v-for error when used with 3rd party sortable plugins (@weislanes)
  • #1268 component <slot> not compiled in correct scope when inside v-for
  • #1282 <slot> fallback content not compiled in correct scope when inside v-for
  • #1295 error when triggering transitions on fragments

内部改进

  • FragmentFactory is now exposed as Vue.FragmentFactory.
  • User can now extend Vue’s option merging strategies by adding functions toVue.config.optionMergeStrategies
  • The above function will be called when calling Vue.extend({ myOptions: { ... }}), or when applying a mixin that includes myOption.

下载:https://github.com/yyx990803/vue/archive/1.0.0-alpha.4.zip

同时还发布了 vue.js 0.12.14 版本,主要是 bug 修复:

  • Removed overly aggressive “unobservable object” warnings
  • #1291 component attached hook not called when toggled by v-if inside transcluded content
  • #1299 v-model options rebuild error when using optgroups (@evantre)

下载:https://github.com/yyx990803/vue/archive/0.12.14.zip。

Vue.js 是构建 Web 界面的 JavaScript 库,提供数据驱动的组件,还有简单灵活的 API,使得 MVVM 更简单。

主要特性:

  • 可扩展的数据绑定
  • 将普通的 JS 对象作为 model
  • 简洁明了的 API
  • 组件化 UI 构建
  • 配合别的库使用

支持的浏览器:https://saucelabs.com/u/vuejs

Vue.js

相关文章

软件更新资讯Firefox 135.0 发布

Firefox 135.0 现已发布,具体更新内容如下: New Firefox 翻译现在支持比以往更多的语言…

1db25d63924c2fff4d7feb76cf041519软件更新资讯2025年无人自助棋牌室还能不能做?2025年还能不能做共享茶室

2025年还能不能做共享茶室,其实很尴尬,毕竟经济很差。但是我们给的建议是,如果手上有闲钱,有合适的场地,这种…

22软件更新资讯共享茶室加盟好还是自营好?

共享茶室是一种新兴的商业模式,包括加盟和自营两种经营方式。那么,到底是选择共享茶室加盟还是自营更好呢?这个问题…

cd9e2de08dacbe576c20a768773a8972软件更新资讯成都共享棋牌室系统多少钱?成都开共享棋牌室为什么选择芊雅共享棋牌室系统

成都共享棋牌室系统的价格取决于您选择的具体系统和规模。不同的系统功能和设备不同,其价格也会有所不同。在成都,共…

1软件更新资讯厦门宝丹鹭共享空间平台上线,厦门共享茶室系统哪家好?

厦门宝丹鹭共享空间平台上线,主打商务接待场景,由芊雅共享茶室系统强力驱动。近期我们将实地参观本福建的共享空间,…

Gym man and woman push-up strength pushup with dumbbell in a crossfit workout软件更新资讯健身APP开发帮助用户解决各种健身问题

我们都知道每一个胖子都是资深的潜力股,可以看出身形的塑造改变的不单单是外边,更多的是气质,如今越来越多人都加入…

免费获取你的专属方案。

资深技术顾问一对一诊断需求,为你量身定制方案与报价。

  • 免费需求诊断与方案建议
  • 透明报价,工期明确
  • 现成方案与定制开发灵活组合
电话咨询135 0699 3986

信息仅用于顾问联系你,绝不外泄。

电话咨询免费获取方案

和技术顾问聊聊,免费拿方案。

说说你的行业和想法,顾问免费评估方案与报价。

电话咨询135 0699 3986一键拨打
微信号fzqianya
技术顾问微信二维码
微信扫一扫添加技术顾问,直接沟通需求截图保存后,在微信“扫一扫”中选择图片识别

不方便沟通?留下电话,顾问回电