docs: add migration page

Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
braks
2022-12-14 13:02:18 +01:00
committed by Braks
parent 15ca63a59c
commit eef24a368a
2 changed files with 26 additions and 0 deletions

View File

@@ -122,6 +122,11 @@ export default defineConfigWithTheme<DefaultTheme.Config>({
link: '/examples/',
activeMatch: '^/examples/',
},
{
text: 'Migration',
link: '/migration/',
activeMatch: '^/migration/',
},
{
text: 'TypeDocs',
link: '/typedocs/',

View File

@@ -0,0 +1,21 @@
# Migration Guide
## Migrating to 1.6.0+
### Additional Components are now split into separate packages
If you're using Vue Flow at 1.6.0, please avoid using the `@vue-flow/additional-components` package, as it will *not*
work with Vue Flow 1.6.0+.
Instead, install the components from their respective packages.
These packages include:
- [`@vue-flow/background`](/guide/components/background)
- [`@vue-flow/controls`](/guide/components/controls)
- [`@vue-flow/minimap`](/guide/components/minimap)
### Panel Component
The `Panel` component has been moved into the `@vue-flow/core`package.
If you're using it, please update your imports accordingly.