Skip to content
项目

vuejs/vue-cli-plugin-vue-next

在 GitHub 查看

关于

用于试用 vue-next 的 Vue CLI 插件(实验性)

网站与应用开发

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

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-next

What's implemented?

  • Add Vue 3 beta and @vue/compiler-sfc to the project dependencies.
  • Configure webpack to compile .vue files with the new Vue 3 compiler.
  • Codemods that automatically migrate some global API changes mentioned in RFC-0009.
  • Install Vuex 4.0 & Vue Router 4.0 in the project, if older versions of them are detected.
  • Codemods for the API changes in Vuex and Vue Router.

TODOs

  • More comprehensive codemods for breaking changes in Vue 3.
  • TypeScript support
  • Test utils support

探索相关项目

加载中…