From 51b65b6c116d2a458d66ef54580d3b0242bce823 Mon Sep 17 00:00:00 2001 From: Robin Malfait Date: Thu, 29 Apr 2021 15:37:49 +0200 Subject: [PATCH] add more Vue examples --- .../examples/src/components/dialog/dialog.vue | 16 ++++++--- .../src/components/disclosure/disclosure.vue | 33 +++++++++++++++++++ .../@headlessui-vue/examples/src/routes.json | 11 +++++++ 3 files changed, 56 insertions(+), 4 deletions(-) create mode 100644 packages/@headlessui-vue/examples/src/components/disclosure/disclosure.vue diff --git a/packages/@headlessui-vue/examples/src/components/dialog/dialog.vue b/packages/@headlessui-vue/examples/src/components/dialog/dialog.vue index 4a215ce853..4b744c5533 100644 --- a/packages/@headlessui-vue/examples/src/components/dialog/dialog.vue +++ b/packages/@headlessui-vue/examples/src/components/dialog/dialog.vue @@ -8,7 +8,7 @@ - +
- + - + + @@ -135,6 +142,7 @@
+
diff --git a/packages/@headlessui-vue/examples/src/components/disclosure/disclosure.vue b/packages/@headlessui-vue/examples/src/components/disclosure/disclosure.vue new file mode 100644 index 0000000000..1fb1b55f1b --- /dev/null +++ b/packages/@headlessui-vue/examples/src/components/disclosure/disclosure.vue @@ -0,0 +1,33 @@ + + + diff --git a/packages/@headlessui-vue/examples/src/routes.json b/packages/@headlessui-vue/examples/src/routes.json index ec649f2d6a..1d769607e4 100644 --- a/packages/@headlessui-vue/examples/src/routes.json +++ b/packages/@headlessui-vue/examples/src/routes.json @@ -94,6 +94,17 @@ } ] }, + { + "name": "Disclosure", + "path": "/disclosure", + "children": [ + { + "name": "Disclosure", + "path": "/disclosure/disclosure", + "component": "./components/disclosure/disclosure.vue" + } + ] + }, { "name": "Dialog", "path": "/dialog",