@nuxtify/pages 0.3.2 → 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
|
@@ -1,27 +1,13 @@
|
|
|
1
1
|
import * as _nuxt_schema from '@nuxt/schema';
|
|
2
2
|
import { ModuleOptions as ModuleOptions$1 } from '@nuxtify/core';
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
openInNew?: boolean;
|
|
10
|
-
}
|
|
11
|
-
interface FooterLinks {
|
|
12
|
-
title: string;
|
|
13
|
-
links: Link[];
|
|
4
|
+
type CoreEmailOptions = NonNullable<ModuleOptions$1['email']>;
|
|
5
|
+
interface Email extends CoreEmailOptions {
|
|
6
|
+
provider?: {
|
|
7
|
+
defaultSubmitUrl?: string;
|
|
8
|
+
};
|
|
14
9
|
}
|
|
15
10
|
interface PageModuleOptions {
|
|
16
|
-
/**
|
|
17
|
-
* Navigation options
|
|
18
|
-
*/
|
|
19
|
-
navigation?: {
|
|
20
|
-
primary?: Link[];
|
|
21
|
-
secondary?: Link[];
|
|
22
|
-
footerPrimary?: FooterLinks[];
|
|
23
|
-
footerSecondary?: Link[];
|
|
24
|
-
};
|
|
25
11
|
/**
|
|
26
12
|
* Footer options
|
|
27
13
|
*/
|
|
@@ -37,11 +23,7 @@ interface PageModuleOptions {
|
|
|
37
23
|
/**
|
|
38
24
|
* Email options
|
|
39
25
|
*/
|
|
40
|
-
email?:
|
|
41
|
-
provider?: {
|
|
42
|
-
defaultSubmitUrl?: string;
|
|
43
|
-
};
|
|
44
|
-
};
|
|
26
|
+
email?: Email;
|
|
45
27
|
/**
|
|
46
28
|
* Style options
|
|
47
29
|
*/
|
package/dist/module.json
CHANGED
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.
|
|
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
|
|
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?.
|
|
5
|
-
const footerSecondaryLinks = nuxtifyConfig.navigation?.
|
|
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
|
+
"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.
|
|
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.
|
|
52
|
-
"@nuxt/kit": "^3.17.
|
|
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.
|
|
54
|
+
"@nuxt/schema": "^3.17.4",
|
|
55
55
|
"@nuxt/test-utils": "^3.19.0",
|
|
56
|
-
"@types/node": "^22.15.
|
|
56
|
+
"@types/node": "^22.15.21",
|
|
57
57
|
"changelogen": "^0.6.1",
|
|
58
|
-
"eslint": "^9.
|
|
59
|
-
"nuxt": "^3.17.
|
|
58
|
+
"eslint": "^9.27.0",
|
|
59
|
+
"nuxt": "^3.17.4",
|
|
60
60
|
"typescript": "~5.8.2",
|
|
61
|
-
"vitest": "^3.1.
|
|
61
|
+
"vitest": "^3.1.4",
|
|
62
62
|
"vue-tsc": "^2.2.10"
|
|
63
63
|
}
|
|
64
64
|
}
|