Skip to content
This repository has been archived by the owner on Dec 26, 2018. It is now read-only.

v9.0.0

Compare
Choose a tag to compare
@yyx990803 yyx990803 released this 15 Jun 23:59
· 43 commits to master since this release

This release is not tagged as latest on npm. You will need to explicitly install it as vueify@next.

New

  • Supports Vue 2.0!

Breaking Changes

  • Does not work with Vue.js core 1.x, due to the different template compilation requirements.

  • Babel no longer required

    If babel-core doesn't exist as a peer dependency, vueify will not attempt to transpile content inside <script> tags in Vue components (they are treated as plain ES5). To make vueify ES2015-aware, simply install and configure Babel and other babel related packages as you normally would. vueify will automatically detect their presence and apply babel transformation to Vue components. (You will likely need babelify for normal *.js files).

  • Removed CSS autoprefixing

    This is not strictly within the scope of vueify, and in most cases you will need to configure it with targeted browsers anyway. Many PostCSS-based frameworks have this included as well. Since vueify already supports using PostCSS plugins, simply install autoprefixer and pass it to vueify as a PostCSS plugin in vue.config.js.