Skip to content

Commit 0ab63d7

Browse files
committed
refactor(background): add deprecation notice
Signed-off-by: braks <[email protected]>
1 parent 4c24843 commit 0ab63d7

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

packages/background/README.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Vue Flow: Background Component
22

3+
> [!WARNING] DEPRECATED
4+
> This package has been deprecated. Please use the `<Background>` component export directly from the core pkg `import { Background } from '@vue-flow/core'`
5+
36
This is a background component for Vue Flow.
47
It can be used to create a background in your canvas.
58

packages/background/src/index.ts

+5
Original file line numberDiff line numberDiff line change
@@ -1 +1,6 @@
1+
/**
2+
* Re-export of the Background component and types from the core pkg.
3+
*
4+
* @deprecated Please import these directly from `@vue-flow/core` instead and remove `@vue-flow/background` as a dependency.
5+
*/
16
export { Background, BackgroundVariant, BackgroundProps } from '@vue-flow/core'

0 commit comments

Comments
 (0)