Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vuejs/vue-cli-plugin-vue-next
A Vue CLI plugin for trying out vue-next (experimental)
https://github.com/vuejs/vue-cli-plugin-vue-next
Last synced: 4 days ago
JSON representation
A Vue CLI plugin for trying out vue-next (experimental)
- Host: GitHub
- URL: https://github.com/vuejs/vue-cli-plugin-vue-next
- Owner: vuejs
- License: mit
- Created: 2020-01-02T13:12:00.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-05T16:22:55.000Z (about 2 years ago)
- Last Synced: 2024-10-29T17:06:22.737Z (3 months ago)
- Language: JavaScript
- Homepage:
- Size: 516 KB
- Stars: 339
- Watchers: 27
- Forks: 23
- Open Issues: 23
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-vue-3 - vue-cli-plugin-vue-next - A Vue CLI plugin for trying out vue-next (experimental) (Packages)
README
# 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
```sh
# in an existing Vue CLI project
vue add vue-next
```## What's implemented?
- [x] Add Vue 3 beta and `@vue/compiler-sfc` to the project dependencies.
- [x] Configure webpack to compile `.vue` files with the new Vue 3 compiler.
- [x] [Codemods](./generator/codemods/global-api) that automatically migrate some global API changes mentioned in [RFC-0009](https://github.com/vuejs/rfcs/blob/master/active-rfcs/0009-global-api-change.md).
- [x] Install Vuex 4.0 & Vue Router 4.0 in the project, if older versions of them are detected.
- [x] 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