@dargmuesli/nuxt-vio 1.8.1 → 1.8.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,11 +1,8 @@
1
1
  <template>
2
2
  <div :data-is-loading="isLoading">
3
3
  <NuxtLayout>
4
- <!-- <SeoKit
5
- :site-description="t('globalOgSeoDescription')"
6
- :language="locale"
7
- />
8
- <OgImageStatic :alt="t('globalOgImageAlt')" component="OgImage" /> -->
4
+ <SeoKit :site-description="siteDescription" :language="locale" />
5
+ <OgImageStatic :alt="ogImageAlt" component="OgImage" />
9
6
  <NuxtPage />
10
7
  <CookieControl :locale="locale" />
11
8
  </NuxtLayout>
@@ -13,7 +10,12 @@
13
10
  </template>
14
11
 
15
12
  <script setup lang="ts">
16
- // const { t } = useI18n()
13
+ export interface Props {
14
+ siteDescription: string
15
+ ogImageAlt: string
16
+ }
17
+ withDefaults(defineProps<Props>(), {})
18
+
17
19
  const { locale } = useI18n()
18
20
  const cookieControl = useCookieControl()
19
21
 
@@ -0,0 +1,7 @@
1
+ <template>
2
+ <div class="p-4 md:px-8">
3
+ <main>
4
+ <slot />
5
+ </main>
6
+ </div>
7
+ </template>
@@ -1,7 +1,5 @@
1
1
  <template>
2
- <div class="p-4 md:px-8">
3
- <main>
4
- <slot />
5
- </main>
6
- </div>
2
+ <VioLayout>
3
+ <slot />
4
+ </VioLayout>
7
5
  </template>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dargmuesli/nuxt-vio",
3
- "version": "1.8.1",
3
+ "version": "1.8.2",
4
4
  "type": "module",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -19,7 +19,6 @@
19
19
  "plugins",
20
20
  "utils",
21
21
  "app.config.ts",
22
- "app.vue",
23
22
  "error.vue",
24
23
  "nuxt.config.ts",
25
24
  "tailwind.config.ts"