diff --git a/src/assets/demo/styles/items.scss b/src/assets/demo/styles/items.scss new file mode 100644 index 0000000..67eb9f8 --- /dev/null +++ b/src/assets/demo/styles/items.scss @@ -0,0 +1,13 @@ +.product-item { + .product-item-content { + border: 1px solid var(--surface-d); + border-radius: 3px; + margin: 0.3rem; + text-align: center; + padding: 2rem 0; + } + .product-image { + width: 50%; + box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23); + } +} diff --git a/src/main.js b/src/main.js index 25cdc15..ea5eba6 100644 --- a/src/main.js +++ b/src/main.js @@ -106,6 +106,9 @@ const app = createApp(App); app.use(router); app.use(PrimeVue, { ripple: true }); +app.use(ToastService); +app.use(DialogService); +app.use(ConfirmationService); app.directive('tooltip', Tooltip); app.directive('badge', BadgeDirective); diff --git a/src/router/index.js b/src/router/index.js index 8cd0d3b..4040bff 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -12,7 +12,78 @@ const router = createRouter({ path: '', name: 'dashboard', component: () => import('@/views/Dashboard.vue') + }, + { + path: '/formlayout', + name: 'formlayout', + component: () => import('@/views/demo/FormLayout.vue') + }, + { + path: '/input', + name: 'input', + component: () => import('@/views/demo/Input.vue') + }, + { + path: '/floatlabel', + name: 'floatlabel', + component: () => import('@/views/demo/FloatLabel.vue') + }, + { + path: '/invalidstate', + name: 'invalidstate', + component: () => import('@/views/demo/InvalidState.vue') + }, + { + path: '/button', + name: 'button', + component: () => import('@/views/demo/Button.vue') + }, + { + path: '/table', + name: 'table', + component: () => import('@/views/demo/Table.vue') + }, + { + path: '/list', + name: 'list', + component: () => import('@/views/demo/List.vue') + }, + { + path: '/tree', + name: 'tree', + component: () => import('@/views/demo/Tree.vue') + }, + { + path: '/panel', + name: 'panel', + component: () => import('@/views/demo/Panels.vue') + }, + + { + path: '/overlay', + name: 'overlay', + component: () => import('@/views/demo/Overlay.vue') + }, + { + path: '/media', + name: 'media', + component: () => import('@/views/demo/Media.vue') } + /* + + + + + { + path: '/overlay', + name: 'overlay', + component: () => import('./components/OverlayDemo.vue') + }, + { + path: '/media', + name: 'media', + component: () => import('./components/MediaDemo.vue') + } */ ] } ] diff --git a/src/views/demo/Button.vue b/src/views/demo/Button.vue new file mode 100644 index 0000000..ecb2798 --- /dev/null +++ b/src/views/demo/Button.vue @@ -0,0 +1,173 @@ + + + diff --git a/src/views/demo/File.vue b/src/views/demo/File.vue new file mode 100644 index 0000000..6d15337 --- /dev/null +++ b/src/views/demo/File.vue @@ -0,0 +1,23 @@ + + + \ No newline at end of file diff --git a/src/views/demo/FloatLabel.vue b/src/views/demo/FloatLabel.vue new file mode 100644 index 0000000..2a62464 --- /dev/null +++ b/src/views/demo/FloatLabel.vue @@ -0,0 +1,115 @@ + + + diff --git a/src/views/demo/FormLayout.vue b/src/views/demo/FormLayout.vue new file mode 100644 index 0000000..3145cac --- /dev/null +++ b/src/views/demo/FormLayout.vue @@ -0,0 +1,124 @@ +