From 8bed3239ded36436ce241101d51b6c8d5a83e706 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=95=D0=B2=D0=B3=D0=B5=D0=BD=D0=B8=D0=B9=20=D0=93=D0=BE?= =?UTF-8?q?=D0=BB=D0=BE=D0=B2=D0=BA=D0=B8=D0=BD?= Date: Mon, 22 Apr 2024 16:54:50 +0600 Subject: [PATCH 1/2] add new pages "error" & some fix in form --- playground/nuxt.config.ts | 3 +- src/module.ts | 11 ++ src/runtime/components/Pages/Error/Erg.vue | 107 +++++++++++++++++++ src/runtime/components/Pages/TestVuetify.vue | 14 +-- src/runtime/components/Parts/Forms.vue | 7 +- src/runtime/components/Parts/Slider.vue | 8 +- 6 files changed, 138 insertions(+), 12 deletions(-) create mode 100644 src/runtime/components/Pages/Error/Erg.vue diff --git a/playground/nuxt.config.ts b/playground/nuxt.config.ts index 28665b4..b819390 100644 --- a/playground/nuxt.config.ts +++ b/playground/nuxt.config.ts @@ -49,7 +49,8 @@ export default defineNuxtConfig({ 'partsCardScale', 'partsCardErgNews', 'partsFilesErg', - 'partsPagination' + 'partsPagination', + 'pagesErrorErg' ] }, devtools: { enabled: false }, diff --git a/src/module.ts b/src/module.ts index d8ef120..1ad8823 100644 --- a/src/module.ts +++ b/src/module.ts @@ -172,5 +172,16 @@ export default defineNuxtModule({ ), }); } + + // error page + + if (options.components.includes("pagesErrorErg")) { + addComponent({ + name: "pagesErrorErg", + filePath: resolver.resolve( + "runtime/components/Pages/Error/Erg.vue" + ), + }); + } }, }); diff --git a/src/runtime/components/Pages/Error/Erg.vue b/src/runtime/components/Pages/Error/Erg.vue new file mode 100644 index 0000000..ec8e1eb --- /dev/null +++ b/src/runtime/components/Pages/Error/Erg.vue @@ -0,0 +1,107 @@ + + + + + diff --git a/src/runtime/components/Pages/TestVuetify.vue b/src/runtime/components/Pages/TestVuetify.vue index 700b945..ada093f 100644 --- a/src/runtime/components/Pages/TestVuetify.vue +++ b/src/runtime/components/Pages/TestVuetify.vue @@ -42,13 +42,13 @@
-
diff --git a/src/runtime/components/Parts/Forms.vue b/src/runtime/components/Parts/Forms.vue index 3579c7a..a1411a8 100644 --- a/src/runtime/components/Parts/Forms.vue +++ b/src/runtime/components/Parts/Forms.vue @@ -451,17 +451,18 @@ >

{{ contact?.title }} diff --git a/src/runtime/components/Parts/Slider.vue b/src/runtime/components/Parts/Slider.vue index 7de0534..469f9e6 100644 --- a/src/runtime/components/Parts/Slider.vue +++ b/src/runtime/components/Parts/Slider.vue @@ -78,6 +78,7 @@ > {{ slide.title }} +

{{ slide.subtitle }}

- + +
From 0c2e1b0e1c65ecca1357fc475c0875112215e39d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=95=D0=B2=D0=B3=D0=B5=D0=BD=D0=B8=D0=B9=20=D0=93=D0=BE?= =?UTF-8?q?=D0=BB=D0=BE=D0=B2=D0=BA=D0=B8=D0=BD?= Date: Mon, 22 Apr 2024 16:55:16 +0600 Subject: [PATCH 2/2] update version --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 03dc05c..9b1601e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@ibecsystems/nuxt3-ui-kit", - "version": "1.0.43", + "version": "1.0.44", "description": "Ibec Nuxt3 UI components", "repository": { "type": "git",