From b6684ee03b8b4e94c154cfaba5fb397ae3b6dd2c Mon Sep 17 00:00:00 2001 From: Georges KABBOUCHI Date: Mon, 21 Nov 2022 01:25:29 +0200 Subject: [PATCH] add singleton docs --- docs/content/en/flavor/component.md | 21 +++++++++++++++++++ docs/content/en/flavor/composition-api.md | 25 +++++++++++++++++++++++ 2 files changed, 46 insertions(+) diff --git a/docs/content/en/flavor/component.md b/docs/content/en/flavor/component.md index 6e128e3..01dbb7b 100644 --- a/docs/content/en/flavor/component.md +++ b/docs/content/en/flavor/component.md @@ -60,3 +60,24 @@ Click [here](/props) to see full documentation on props. ``` +## Singleton + +### Example 1 + +```html + + + Button 1 + + + + Button 2 + + +``` diff --git a/docs/content/en/flavor/composition-api.md b/docs/content/en/flavor/composition-api.md index bfbbb94..92aad88 100644 --- a/docs/content/en/flavor/composition-api.md +++ b/docs/content/en/flavor/composition-api.md @@ -83,3 +83,28 @@ useTippy(btn, { }) ``` + +## Singleton + +### Example 1 + +```vue + + + +```