Vue 3 Playground
Vue 3 Playground stands as a learning project for those who want to get familiar with the new features of Vue 3.
The project aims to include all the new features. If you find something missing please create an issue/PR.
The application is a shopping cart where you can alter the name, price and quantity of the products and recalculates the total price based on the items and used coupon.
The playground is available also in online version.
If you want to switch to the Typescript folder uncomment the link to the Typescript main file in inndex.html
and comment out the Javascript main file.
New APIs covered
The Typescript equivalents can be found in the src-typescript
folder (file names are the same).
- createApp - RFC docs
- use - RFC docs
- ref - Composition API docs
- reactive - Composition API docs
- computed - Composition API docs
- toRefs - Composition API docs
- watchEffect - Composition API docs
- watch - Composition API docs
- onMount - Composition API refernce
- onUnmount - Composition API refernce
- onUpdate - Composition API refernce
- onErrorCaptured - Composition API refernce
- useStore - Vuex 4 docs
- useRoute - Vue 3 router docs
- emit
- provide - Composition API reference
- inject - Composition API reference
- createStore - Vuex 4 docs
- createRouter - Vue 3 router docs
- defineComponent
- defineAsyncComponent - RFC docs
- h - Composition API reference
- JSX
- Suspense
- Async Component
- Teleport - RFC docs
- Fragments
- Multiple v-models - RFC docs
- Scoped slot - RFC docs
- Custom directive
Further articles/videos
- Composition API docs
- RFCs describing new features
- Reactivity: Vue 2 vs Vue 3
- Global Vue Meetup featuring Evan You
- State of Vuenion
- The process: Making Vue 3
- Vue 3 Async Components and Bundle Splitting
- Reactivity in Vue 2, 3, and the Composition API
- React Hooks vs. Vue 3 Composition API
- Vue 3 Composition API TodoMVC implementation with Vuex and testing
Contributing
This project is under development. If you have any idea how to include more and more new features of Vue 3 in this application feel free to share your ideas in an issue/PR.