@nuxtify/pages 0.3.3 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/module.d.mts CHANGED
@@ -7,27 +7,7 @@ interface Email extends CoreEmailOptions {
7
7
  defaultSubmitUrl?: string;
8
8
  };
9
9
  }
10
- interface Link {
11
- text: string;
12
- to?: string;
13
- href?: string;
14
- icon?: string;
15
- openInNew?: boolean;
16
- }
17
- interface FooterLinks {
18
- title: string;
19
- links: Link[];
20
- }
21
10
  interface PageModuleOptions {
22
- /**
23
- * Navigation options
24
- */
25
- navigation?: {
26
- primary?: Link[];
27
- secondary?: Link[];
28
- footerPrimary?: FooterLinks[];
29
- footerSecondary?: Link[];
30
- };
31
11
  /**
32
12
  * Footer options
33
13
  */
package/dist/module.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nuxtify/pages",
3
- "version": "0.3.3",
3
+ "version": "0.4.0",
4
4
  "configKey": "nuxtifyPages",
5
5
  "compatibility": {
6
6
  "nuxt": ">=3.16.0",
package/dist/module.mjs CHANGED
@@ -2,7 +2,7 @@ import { defineNuxtModule, createResolver, installModule, addLayout, addComponen
2
2
  import { defu } from 'defu';
3
3
 
4
4
  const name = "@nuxtify/pages";
5
- const version = "0.3.3";
5
+ const version = "0.4.0";
6
6
 
7
7
  const module = defineNuxtModule({
8
8
  meta: {
@@ -17,14 +17,7 @@ const module = defineNuxtModule({
17
17
  defaults: {
18
18
  // Brand
19
19
  brand: {
20
- name: "@nuxtify/pages"
21
- },
22
- // Navigation
23
- navigation: {
24
- primary: [],
25
- secondary: [],
26
- footerPrimary: [],
27
- footerSecondary: []
20
+ name
28
21
  },
29
22
  // Footer
30
23
  footer: {
@@ -1,8 +1,8 @@
1
1
  <script setup>
2
2
  import { mdiArrowTopRight, useNuxtifyConfig } from "#imports";
3
3
  const nuxtifyConfig = useNuxtifyConfig();
4
- const footerPrimaryLinks = nuxtifyConfig.navigation?.footerPrimary;
5
- const footerSecondaryLinks = nuxtifyConfig.navigation?.footerSecondary;
4
+ const footerPrimaryLinks = nuxtifyConfig.navigation?.altPrimary;
5
+ const footerSecondaryLinks = nuxtifyConfig.navigation?.altSecondary;
6
6
  </script>
7
7
 
8
8
  <template>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nuxtify/pages",
3
- "version": "0.3.3",
3
+ "version": "0.4.0",
4
4
  "description": "Nuxtify pages module powered by Nuxt and Vuetify.",
5
5
  "license": "MIT",
6
6
  "homepage": "https://nuxtify.dev",
@@ -43,22 +43,22 @@
43
43
  "test:types": "vue-tsc --noEmit && cd playground && vue-tsc --noEmit"
44
44
  },
45
45
  "dependencies": {
46
- "@nuxtify/core": "^0.1.2",
46
+ "@nuxtify/core": "^0.1.6",
47
47
  "defu": "^6.1.4"
48
48
  },
49
49
  "devDependencies": {
50
50
  "@nuxt/devtools": "^2.4.1",
51
- "@nuxt/eslint-config": "^1.3.1",
52
- "@nuxt/kit": "^3.17.3",
51
+ "@nuxt/eslint-config": "^1.4.1",
52
+ "@nuxt/kit": "^3.17.4",
53
53
  "@nuxt/module-builder": "^1.0.1",
54
- "@nuxt/schema": "^3.17.3",
54
+ "@nuxt/schema": "^3.17.4",
55
55
  "@nuxt/test-utils": "^3.19.0",
56
- "@types/node": "^22.15.18",
56
+ "@types/node": "^22.15.21",
57
57
  "changelogen": "^0.6.1",
58
- "eslint": "^9.26.0",
59
- "nuxt": "^3.17.3",
58
+ "eslint": "^9.27.0",
59
+ "nuxt": "^3.17.4",
60
60
  "typescript": "~5.8.2",
61
- "vitest": "^3.1.3",
61
+ "vitest": "^3.1.4",
62
62
  "vue-tsc": "^2.2.10"
63
63
  }
64
64
  }