Skip to content

Commit eef24a3

Browse files
committed
docs: add migration page
Signed-off-by: braks <[email protected]>
1 parent 15ca63a commit eef24a3

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

docs/src/.vitepress/config.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,11 @@ export default defineConfigWithTheme<DefaultTheme.Config>({
122122
link: '/examples/',
123123
activeMatch: '^/examples/',
124124
},
125+
{
126+
text: 'Migration',
127+
link: '/migration/',
128+
activeMatch: '^/migration/',
129+
},
125130
{
126131
text: 'TypeDocs',
127132
link: '/typedocs/',

docs/src/migration/index.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Migration Guide
2+
3+
## Migrating to 1.6.0+
4+
5+
### Additional Components are now split into separate packages
6+
7+
If you're using Vue Flow at 1.6.0, please avoid using the `@vue-flow/additional-components` package, as it will *not*
8+
work with Vue Flow 1.6.0+.
9+
10+
Instead, install the components from their respective packages.
11+
12+
These packages include:
13+
14+
- [`@vue-flow/background`](/guide/components/background)
15+
- [`@vue-flow/controls`](/guide/components/controls)
16+
- [`@vue-flow/minimap`](/guide/components/minimap)
17+
18+
### Panel Component
19+
20+
The `Panel` component has been moved into the `@vue-flow/core`package.
21+
If you're using it, please update your imports accordingly.

0 commit comments

Comments
 (0)