vue-cli-plugin-vue-next
A Vue CLI plugin for trying out the Vue 3 beta.
This is for preview purposes only. There might be bugs and undocumented behavior differences from v2, which are expected.
Also note that if you are using VSCode, Vetur isn't updated to take advantage of Vue 3's typing yet so intellisense in Vue files may not be fully functional (especially in templates).
Usage
# in an existing Vue CLI project
vue add vue-nextWhat's implemented?
- <input checked="" disabled="" type="checkbox"> Add Vue 3 beta and
@vue/compiler-sfcto the project dependencies. - <input checked="" disabled="" type="checkbox"> Configure webpack to compile
.vuefiles with the new Vue 3 compiler. - <input checked="" disabled="" type="checkbox"> Codemods that automatically migrate some global API changes mentioned in RFC-0009.
- <input checked="" disabled="" type="checkbox"> Install Vuex 4.0 & Vue Router 4.0 in the project, if older versions of them are detected.
- <input checked="" disabled="" type="checkbox"> Codemods for the API changes in Vuex and Vue Router.
TODOs
- <input disabled="" type="checkbox"> More comprehensive codemods for breaking changes in Vue 3.
- <input disabled="" type="checkbox"> TypeScript support
- <input disabled="" type="checkbox"> Test utils support