diff --git a/packages/docs/page-config/ui-elements/layout/examples/AllSlots.vue b/packages/docs/page-config/ui-elements/layout/examples/AllSlots.vue new file mode 100644 index 0000000000..fb95d70342 --- /dev/null +++ b/packages/docs/page-config/ui-elements/layout/examples/AllSlots.vue @@ -0,0 +1,61 @@ + + + + + + + + + + Hello! + + + + + + + + + + + Home + + + + + About + + + + + + + + Content + Lorem ipsum dolor sit amet consectetur adipisicing elit. Quisquam, voluptatum. + + + + + + + + Home + + + + + About + + + + + + + Footer! + + + \ No newline at end of file diff --git a/packages/docs/page-config/ui-elements/layout/examples/Order.vue b/packages/docs/page-config/ui-elements/layout/examples/Order.vue new file mode 100644 index 0000000000..c3b89d26b7 --- /dev/null +++ b/packages/docs/page-config/ui-elements/layout/examples/Order.vue @@ -0,0 +1,67 @@ + + + + + + + + + + Hello! + + + + + + + + + + + Home + + + + + About + + + + + + + + Content + Lorem ipsum dolor sit amet consectetur adipisicing elit. Quisquam, voluptatum. + + + + + + + + Home + + + + + About + + + + + + + + Footer + + + + \ No newline at end of file diff --git a/packages/docs/page-config/ui-elements/layout/index.ts b/packages/docs/page-config/ui-elements/layout/index.ts index 6ff1209906..7820740ce7 100644 --- a/packages/docs/page-config/ui-elements/layout/index.ts +++ b/packages/docs/page-config/ui-elements/layout/index.ts @@ -2,6 +2,8 @@ export default definePageConfig({ blocks: [ block.title('Layout.title'), - block.example('Default') + block.example('Default'), + block.example('AllSlots'), + block.example('Order'), ] }) \ No newline at end of file diff --git a/packages/ui/src/components/va-layout/VaLayout.demo.vue b/packages/ui/src/components/va-layout/VaLayout.demo.vue index ea3041bcf6..3a2bbf80ae 100644 --- a/packages/ui/src/components/va-layout/VaLayout.demo.vue +++ b/packages/ui/src/components/va-layout/VaLayout.demo.vue @@ -61,5 +61,65 @@ const state = reactive({ + + + + + + Content + + + + + Leftbar + + + + + + Header + + + + + + + + + + Content + + + + + Leftbar + + + + + Rightbar + + + + + + Header + + + + + + Footer + + + + diff --git a/packages/ui/src/components/va-layout/VaLayout.vue b/packages/ui/src/components/va-layout/VaLayout.vue index 7cbfa1e2bc..0173a01bf7 100644 --- a/packages/ui/src/components/va-layout/VaLayout.vue +++ b/packages/ui/src/components/va-layout/VaLayout.vue @@ -1,5 +1,4 @@ - {{ templateArea }} @@ -13,23 +12,9 @@ - - @@ -69,8 +54,8 @@ export default defineComponent({
Lorem ipsum dolor sit amet consectetur adipisicing elit. Quisquam, voluptatum.