From 8d33701a9ac1d8235d354f9d3d002867d8593089 Mon Sep 17 00:00:00 2001 From: sronveaux Date: Tue, 7 Jan 2025 16:35:55 +0100 Subject: [PATCH] Added upgrade notes from Wegue v2 to v3 for Vue3 and Vuetify3 --- upgrade-notes.md | 86 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 86 insertions(+) diff --git a/upgrade-notes.md b/upgrade-notes.md index 129adac7..86357f00 100644 --- a/upgrade-notes.md +++ b/upgrade-notes.md @@ -1,5 +1,91 @@ # Upgrade Notes +## v2 -> v3 + +`Wegue` v3.x transited from `Vue 2` to `Vue 3` and from `Vuetify 2` to `Vuetify 3` which implies a lot of changes. + +`Wegue` team tried to introduce as few changes as possible to make the transition as smooth as it can be. +This means components are still written using the `Options API` for example. + +To be compatible with all the required dependencies, minimal `node` version was raised to `v18.19.0` while minimal `npm` version was also raised to `v10.2.3`. + +Changes that were applied on the files present in the [app-starter](https://github.com/wegue-oss/wegue/commits/master/app-starter) directory should also be applied to your custom files present in the `app` directory. +Don't forget to apply the changes made to the `.browserlistrc`, `.eslintrc.js` and `vue.config.js` files in the root directory too! + +### Vue + +`Vue` was upgraded from v2.x to v3.x which implies a lot of breaking changes. Please refer to the official [Vue 3 Migration Guide](https://v3-migration.vuejs.org/), especially its [Breaking Changes part](https://v3-migration.vuejs.org/breaking-changes/) when you upgrade your `Wegue` app. + +Comparing changes applied on the components present in the [app-starter](https://github.com/wegue-oss/wegue/commits/master/app-starter) directory should give you a good overview of what has to be done. + +Here is a list of the essentials which had to be adapted in the `Wegue` code regarding to the upgrade of `Vue` to version 3.x: + +- `