@nuxtify/pages 0.5.1 → 0.6.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/README.md +1 -1
- package/dist/module.json +1 -1
- package/dist/module.mjs +2 -7
- package/dist/runtime/components/app/AppFooter.vue +3 -3
- package/dist/runtime/components/app/{AppBar.vue → AppHeader.vue} +5 -5
- package/dist/runtime/components/app/AppNavigationDrawer.vue +4 -4
- package/dist/runtime/layouts/DefaultLayout.vue +1 -1
- package/package.json +2 -2
- package/dist/runtime/pages/IndexPage.vue +0 -23
- package/dist/runtime/pages/IndexPage.vue.d.ts +0 -3
- package/dist/runtime/utils/icons.d.ts +0 -1
- package/dist/runtime/utils/icons.js +0 -1
- /package/dist/runtime/components/app/{AppBar.vue.d.ts → AppHeader.vue.d.ts} +0 -0
package/README.md
CHANGED
|
@@ -83,7 +83,7 @@ Nuxtify Pages builds on the functionality in [Nuxtify Core](https://github.com/n
|
|
|
83
83
|
|
|
84
84
|
- Ready to use components, page templates, and layouts so you can _ship weirdly fast_
|
|
85
85
|
- Easily override any component with [Vuetify global defaults](https://vuetifyjs.com/en/features/global-configuration/)
|
|
86
|
-
- Icons powered by [Material Design Icons](https://pictogrammers.com/library/mdi/)
|
|
86
|
+
- Icons powered by [Material Design Icons](https://pictogrammers.com/library/mdi/)
|
|
87
87
|
- Fully responsive and adapts to all modern browsers and devices
|
|
88
88
|
- (coming soon) Light and dark mode toggle
|
|
89
89
|
|
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -2,7 +2,7 @@ import { defineNuxtModule, createResolver, useLogger, addLayout, addComponentsDi
|
|
|
2
2
|
import { defu } from 'defu';
|
|
3
3
|
|
|
4
4
|
const name = "@nuxtify/pages";
|
|
5
|
-
const version = "0.
|
|
5
|
+
const version = "0.6.0";
|
|
6
6
|
|
|
7
7
|
const module$1 = defineNuxtModule().with({
|
|
8
8
|
meta: {
|
|
@@ -15,7 +15,7 @@ const module$1 = defineNuxtModule().with({
|
|
|
15
15
|
},
|
|
16
16
|
moduleDependencies: {
|
|
17
17
|
"@nuxtify/core": {
|
|
18
|
-
version: ">=0.
|
|
18
|
+
version: ">=0.4.0"
|
|
19
19
|
}
|
|
20
20
|
},
|
|
21
21
|
defaults: {
|
|
@@ -60,11 +60,6 @@ const module$1 = defineNuxtModule().with({
|
|
|
60
60
|
addImportsDir(resolve("./runtime/composables"));
|
|
61
61
|
addImportsDir(resolve("./runtime/utils"));
|
|
62
62
|
extendPages((pages) => {
|
|
63
|
-
pages.unshift({
|
|
64
|
-
name: "index",
|
|
65
|
-
path: "/",
|
|
66
|
-
file: resolve("./runtime/pages/IndexPage.vue")
|
|
67
|
-
});
|
|
68
63
|
pages.unshift({
|
|
69
64
|
name: "slug",
|
|
70
65
|
path: "/:slug",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<script setup>
|
|
2
|
-
import { computed,
|
|
2
|
+
import { computed, useNuxtifyConfig } from "#imports";
|
|
3
3
|
const nuxtifyConfig = useNuxtifyConfig();
|
|
4
4
|
const footerPrimaryLinks = nuxtifyConfig.navigation?.altPrimary;
|
|
5
5
|
const footerSecondaryLinks = nuxtifyConfig.navigation?.altSecondary;
|
|
@@ -70,7 +70,7 @@ const brandColWidth = computed(() => {
|
|
|
70
70
|
{{ link.text }}
|
|
71
71
|
<v-icon
|
|
72
72
|
v-if="link.openInNew"
|
|
73
|
-
|
|
73
|
+
icon="mdi-arrow-top-right"
|
|
74
74
|
size="small"
|
|
75
75
|
color="grey"
|
|
76
76
|
class="ml-1"
|
|
@@ -111,7 +111,7 @@ const brandColWidth = computed(() => {
|
|
|
111
111
|
{{ link.text }}
|
|
112
112
|
<v-icon
|
|
113
113
|
v-if="link.openInNew"
|
|
114
|
-
|
|
114
|
+
icon="mdi-arrow-top-right"
|
|
115
115
|
size="small"
|
|
116
116
|
color="grey"
|
|
117
117
|
class="ml-1"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<script setup>
|
|
2
|
-
import {
|
|
2
|
+
import { useDisplay, useDrawer, useNuxtifyConfig } from "#imports";
|
|
3
3
|
const { smAndDown } = useDisplay();
|
|
4
4
|
const nuxtifyConfig = useNuxtifyConfig();
|
|
5
5
|
const drawer = useDrawer();
|
|
@@ -46,7 +46,7 @@ const featuredSecondaryLink = secondaryNavLinks?.slice(0, 1)[0];
|
|
|
46
46
|
{{ link.text }}
|
|
47
47
|
<v-icon
|
|
48
48
|
v-if="link.openInNew"
|
|
49
|
-
|
|
49
|
+
icon="mdi-arrow-top-right"
|
|
50
50
|
size="x-small"
|
|
51
51
|
color="grey"
|
|
52
52
|
class="ml-1"
|
|
@@ -58,7 +58,7 @@ const featuredSecondaryLink = secondaryNavLinks?.slice(0, 1)[0];
|
|
|
58
58
|
<!-- Mobile navigation -->
|
|
59
59
|
<v-app-bar-nav-icon
|
|
60
60
|
v-if="smAndDown"
|
|
61
|
-
:icon="drawer ?
|
|
61
|
+
:icon="drawer ? 'mdi-close' : 'mdi-menu'"
|
|
62
62
|
color="primary"
|
|
63
63
|
aria-label="Navigation Menu"
|
|
64
64
|
@click="drawer = !drawer"
|
|
@@ -86,7 +86,7 @@ const featuredSecondaryLink = secondaryNavLinks?.slice(0, 1)[0];
|
|
|
86
86
|
{{ link.text }}
|
|
87
87
|
<v-icon
|
|
88
88
|
v-if="link.openInNew"
|
|
89
|
-
|
|
89
|
+
icon="mdi-arrow-top-right"
|
|
90
90
|
size="x-small"
|
|
91
91
|
color="grey"
|
|
92
92
|
class="ml-1"
|
|
@@ -109,7 +109,7 @@ const featuredSecondaryLink = secondaryNavLinks?.slice(0, 1)[0];
|
|
|
109
109
|
{{ featuredSecondaryLink.text }}
|
|
110
110
|
<v-icon
|
|
111
111
|
v-if="featuredSecondaryLink.openInNew"
|
|
112
|
-
|
|
112
|
+
icon="mdi-arrow-top-right"
|
|
113
113
|
size="small"
|
|
114
114
|
class="ml-1"
|
|
115
115
|
/>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<script setup>
|
|
2
|
-
import {
|
|
2
|
+
import { useDisplay, useDrawer, useNuxtifyConfig } from "#imports";
|
|
3
3
|
const { smAndDown } = useDisplay();
|
|
4
4
|
const nuxtifyConfig = useNuxtifyConfig();
|
|
5
5
|
const drawer = useDrawer();
|
|
@@ -33,7 +33,7 @@ const featuredSecondaryLink = secondaryNavLinks?.slice(0, 1)[0];
|
|
|
33
33
|
{{ link.text }}
|
|
34
34
|
<v-icon
|
|
35
35
|
v-if="link.openInNew"
|
|
36
|
-
|
|
36
|
+
icon="mdi-arrow-top-right"
|
|
37
37
|
size="x-small"
|
|
38
38
|
color="grey"
|
|
39
39
|
class="ml-1"
|
|
@@ -57,7 +57,7 @@ const featuredSecondaryLink = secondaryNavLinks?.slice(0, 1)[0];
|
|
|
57
57
|
{{ link.text }}
|
|
58
58
|
<v-icon
|
|
59
59
|
v-if="link.openInNew"
|
|
60
|
-
|
|
60
|
+
icon="mdi-arrow-top-right"
|
|
61
61
|
size="x-small"
|
|
62
62
|
color="grey"
|
|
63
63
|
class="ml-1"
|
|
@@ -86,7 +86,7 @@ const featuredSecondaryLink = secondaryNavLinks?.slice(0, 1)[0];
|
|
|
86
86
|
{{ featuredSecondaryLink.text }}
|
|
87
87
|
<v-icon
|
|
88
88
|
v-if="featuredSecondaryLink.openInNew"
|
|
89
|
-
|
|
89
|
+
icon="mdi-arrow-top-right"
|
|
90
90
|
size="small"
|
|
91
91
|
class="ml-1"
|
|
92
92
|
/>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nuxtify/pages",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.0",
|
|
4
4
|
"description": "Nuxtify pages module powered by Nuxt and Vuetify.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://nuxtify.dev",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"test:types": "vue-tsc --noEmit && cd playground && vue-tsc --noEmit"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@nuxtify/core": "^0.
|
|
47
|
+
"@nuxtify/core": "^0.4.0",
|
|
48
48
|
"defu": "^6.1.4"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
<script setup>
|
|
2
|
-
import { useNuxtifyConfig, useSeoMeta } from "#imports";
|
|
3
|
-
const nuxtifyConfig = useNuxtifyConfig();
|
|
4
|
-
useSeoMeta({
|
|
5
|
-
title: `${nuxtifyConfig.brand?.name}`,
|
|
6
|
-
description: `This is the ${nuxtifyConfig.brand?.name} home page.`
|
|
7
|
-
});
|
|
8
|
-
</script>
|
|
9
|
-
|
|
10
|
-
<template>
|
|
11
|
-
<v-container class="text-center">
|
|
12
|
-
<v-row>
|
|
13
|
-
<v-col cols="12">
|
|
14
|
-
<ClientOnly>
|
|
15
|
-
<h1>{{ nuxtifyConfig.brand?.name }} Home</h1>
|
|
16
|
-
<template #fallback>
|
|
17
|
-
<AppLoading />
|
|
18
|
-
</template>
|
|
19
|
-
</ClientOnly>
|
|
20
|
-
</v-col>
|
|
21
|
-
</v-row>
|
|
22
|
-
</v-container>
|
|
23
|
-
</template>
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
-
declare const _default: typeof __VLS_export;
|
|
3
|
-
export default _default;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { mdiArrowRight, mdiArrowTopRight, mdiClose, mdiMenu } from '@mdi/js';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { mdiArrowRight, mdiArrowTopRight, mdiClose, mdiMenu } from "@mdi/js";
|
|
File without changes
|