@nuxtify/pages 0.2.0 β†’ 0.3.1

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.
Files changed (53) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +222 -203
  3. package/dist/module.d.mts +0 -83
  4. package/dist/module.json +2 -2
  5. package/dist/module.mjs +9 -66
  6. package/dist/runtime/components/EmailSubscribeForm.vue +75 -75
  7. package/dist/runtime/components/FooterCallToAction.vue +29 -29
  8. package/dist/runtime/components/app/AppBar.vue +109 -109
  9. package/dist/runtime/components/app/AppFooter.vue +132 -132
  10. package/dist/runtime/components/app/AppNavigationDrawer.vue +86 -86
  11. package/dist/runtime/layouts/DefaultLayout.vue +25 -23
  12. package/dist/runtime/pages/DynamicSlug.vue +15 -15
  13. package/dist/runtime/pages/IndexPage.vue +16 -12
  14. package/dist/runtime/server/tsconfig.json +3 -3
  15. package/dist/runtime/utils/icons.d.ts +1 -1
  16. package/dist/runtime/utils/icons.js +1 -1
  17. package/package.json +64 -65
  18. package/dist/runtime/components/app/AppAnnouncementBar.vue +0 -36
  19. package/dist/runtime/components/app/AppAnnouncementBar.vue.d.ts +0 -2
  20. package/dist/runtime/components/app/AppDialog.vue +0 -38
  21. package/dist/runtime/components/app/AppDialog.vue.d.ts +0 -2
  22. package/dist/runtime/components/app/AppLoading.vue +0 -16
  23. package/dist/runtime/components/app/AppLoading.vue.d.ts +0 -2
  24. package/dist/runtime/components/app/AppLogo.vue +0 -41
  25. package/dist/runtime/components/app/AppLogo.vue.d.ts +0 -23
  26. package/dist/runtime/components/app/AppToast.vue +0 -16
  27. package/dist/runtime/components/app/AppToast.vue.d.ts +0 -2
  28. package/dist/runtime/composables/dialog.d.ts +0 -13
  29. package/dist/runtime/composables/dialog.js +0 -15
  30. package/dist/runtime/composables/nuxtify.d.ts +0 -2
  31. package/dist/runtime/composables/nuxtify.js +0 -2
  32. package/dist/runtime/composables/state.d.ts +0 -15
  33. package/dist/runtime/composables/state.js +0 -10
  34. package/dist/runtime/server/composables/client.d.ts +0 -1
  35. package/dist/runtime/server/composables/client.js +0 -1
  36. package/dist/runtime/server/utils/client.d.ts +0 -1
  37. package/dist/runtime/server/utils/client.js +0 -1
  38. package/dist/runtime/utils/formRules.d.ts +0 -19
  39. package/dist/runtime/utils/formRules.js +0 -23
  40. package/dist/runtime/utils/io.d.ts +0 -2
  41. package/dist/runtime/utils/io.js +0 -19
  42. package/dist/runtime/utils/math.d.ts +0 -2
  43. package/dist/runtime/utils/math.js +0 -13
  44. package/dist/runtime/utils/text.d.ts +0 -23
  45. package/dist/runtime/utils/text.js +0 -159
  46. package/dist/runtime/utils/time.d.ts +0 -2
  47. package/dist/runtime/utils/time.js +0 -7
  48. package/dist/runtime/utils/url.d.ts +0 -9
  49. package/dist/runtime/utils/url.js +0 -27
  50. package/dist/runtime/utils/util.d.ts +0 -7
  51. package/dist/runtime/utils/util.js +0 -5
  52. package/dist/runtime/utils/youtube.d.ts +0 -1
  53. package/dist/runtime/utils/youtube.js +0 -13
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2023-present - Nuxtify
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,203 +1,222 @@
1
- <div align=center>
2
- <img src="https://nuxtify.dev/img/nuxtify-wordmark-dark.png"/>
3
- </div>
4
- <p align=center>
5
- Build progressively enhanced web apps and sites with Nuxt and Vuetify.
6
- </p>
7
-
8
- # Nuxtify Pages
9
-
10
- <!-- [![npm version][npm-version-src]][npm-version-href]
11
- [![npm downloads][npm-downloads-src]][npm-downloads-href]
12
- [![License][license-src]][license-href]
13
- [![Nuxtify Docs][nuxtify-src]][nuxtify-href] -->
14
- <!-- [πŸ€ Online playground](https://stackblitz.com/github/nuxtify-dev/pages?file=playground%2Fapp.vue) -->
15
-
16
- > [!NOTE]
17
- > **Early Access Preview:**
18
- > This module is under active development. While it is already used to power a [handful of sites](https://nuxtify.dev/showcase) in production, expect things to change frequently. I will do my best to call out breaking changes in the [changelog](https://github.com/nuxtify-dev/pages/blob/main/CHANGELOG.md).
19
-
20
- ### Table of Contents
21
-
22
- - ♾️ [Why Nuxtify?](#why-nuxtify)
23
- - ✨ [Features](#features)
24
- - πŸš€ [Quick Start](#quick-start)
25
- - πŸ”§ [Configuration](#configuration)
26
- - βœ… [Updates](#updates)
27
- - ❀️ [Contributing](#contributing)
28
- - 🏠 [Local Development](#local-development)
29
- - βš–οΈ [License](#license)
30
-
31
- ## <a name="why-nuxtify">♾️ Why Nuxtify?</a>
32
-
33
- Nuxtify is a collection of [Nuxt modules](https://nuxt.com/docs/guide/concepts/modules) that help you stay organized, maintain focus, and _ship weirdly fast_.
34
-
35
- It's built on a loosely opinionated stack that eliminates decision fatigue and ensures consistency across projects. This extensible approach gives you incredible control over your site's structure and style.
36
-
37
- Once you add a Nuxtify module (like this one) to a new or existing Nuxt project, you can use any of the components, composables, and other features instantly – no imports necessary. And more importantly, you can override these defaults with your own version at any time.
38
-
39
- **This unlocks a powerful way of working.**
40
-
41
- Use the defaults when they're helpful, and progressively upgrade when they're not.
42
-
43
- This means you can:
44
-
45
- - Setup a new project using the default configuration in a matter of minutes.
46
- - Use the default footer component, but completely change the navigation component.
47
- - Change the colors of all the buttons with one line of code.
48
- - Override the default button component with a style of your choosing.
49
- - And much more...
50
-
51
- In short, Nuxtify helps you build faster, iterate smarter, and maintain consistency – without sacrificing control or creativity.
52
-
53
- ## <a name="features">✨ Features</a>
54
-
55
- Nuxtify builds on the amazing features of [Vue](https://vuejs.org/guide/introduction), [Nuxt](https://nuxt.com/docs/getting-started/introduction), and [Vuetify](https://vuetifyjs.com/en/introduction/why-vuetify/).
56
-
57
- ### πŸ’‘ Intuitive UI & UX
58
-
59
- - Ready to use components, page templates, and layouts so you can _ship weirdly fast_
60
- - Easily override any component with [Vuetify global defaults](https://vuetifyjs.com/en/features/global-configuration/)
61
- - Icons powered by [Material Design Icons](https://pictogrammers.com/library/mdi/) via [Vuetify icon fonts](https://vuetifyjs.com/en/features/icon-fonts/)
62
- - Fully responsive and adapts to all modern browsers and devices
63
- - (coming soon) Light and dark mode toggle
64
-
65
- ### πŸ’Ž Premium DX
66
-
67
- - Zero-config with sensible defaults for common use cases
68
- - All components use the modern [Vue Composition API](https://vuejs.org/guide/extras/composition-api-faq) and [Single File Component (SFC) syntax](https://vuejs.org/guide/scaling-up/sfc.html)
69
- - [TypeScript](https://www.typescriptlang.org/) auto-complete and type safety for all components
70
- - [ESLint](https://eslint.org/) support out of the box using flat config (v9)
71
- - Identify performance gaps and seamlessly manage your app with [Nuxt Devtools](https://devtools.nuxt.com/)
72
- - Clean, elegant code that's easy to understand and customize
73
- - Loosely opinionated, leveraging ecosystem standards so you're not locked into outdated dependencies and practices
74
-
75
- ### πŸ€– Smart SEO, Security, & Performance
76
-
77
- - Fully tree shakeable for small bundle sizes
78
- - Optimized caching and rendering strategies for each page with [hybrid rendering](https://nuxt.com/docs/guide/concepts/rendering#hybrid-rendering)
79
- - (coming soon) Robots, sitemaps, schema.org, social share images, broken links, and more powered by [Nuxt SEO](https://nuxtseo.com/)
80
- - (coming soon) Fast, responsive, optimized images for [20+ image providers](https://image.nuxt.com/get-started/providers) powered by [Nuxt Image](https://image.nuxt.com/)
81
- - (coming soon) Load third-party scripts with better performance, privacy, security powered by [Nuxt Scripts](https://scripts.nuxt.com/)
82
- - (coming soon) Optimal security patterns and principles powered by [Nuxt Security](https://nuxt.com/modules/security)
83
-
84
- ### 🌐 Host Anywhere
85
-
86
- - Deploy to any Node.js server, static host, or serverless edge CDN environment with [20+ hosting providers](https://nuxt.com/deploy) supported
87
-
88
- ## <a name="quick-start">πŸš€ Quick Start</a>
89
-
90
- To use this module in your [new](https://nuxt.com/docs/getting-started/installation) or existing Nuxt project:
91
-
92
- ### 1. Install the module
93
-
94
- Install the module in your Nuxt application with one command:
95
-
96
- ```bash
97
- npx nuxi@latest module add @nuxtify/pages
98
- ```
99
-
100
- ### 2. Update Nuxt config
101
-
102
- Add the `@nuxtify/pages` module to `nuxt.config.ts` and configure it:
103
-
104
- ```ts
105
- // nuxt.config.ts
106
-
107
- export default defineNuxtConfig({
108
- modules: [
109
- '@nuxtify/pages'
110
- ],
111
- nuxtify: {
112
- /* module specific options */
113
- }
114
- });
115
- ```
116
-
117
- Read the [πŸ“– documentation](https://nuxtify.dev/docs) for a complete guide on how to configure and use this module.
118
-
119
- ### 3. Start building!
120
-
121
- Develop and [deploy](https://nuxt.com/docs/getting-started/deployment) your Nuxt app like any other.
122
-
123
- ## <a name="configuration">πŸ”§ Configuration</a>
124
-
125
- ### Module configuration
126
-
127
- To see the full config, check out the [types](https://github.com/nuxtify-dev/pages/blob/main/src/types.ts).
128
-
129
- ### Overriding the defaults
130
-
131
- Nuxtify comes pre-configured with sensible defaults. Both for how the module functions and for the corresponding Nuxt [directory](https://nuxt.com/docs/guide/directory-structure).
132
-
133
- If you need to override a [component](https://nuxt.com/docs/guide/directory-structure/components), [page](https://nuxt.com/docs/guide/directory-structure/pages), or [layout](https://nuxt.com/docs/guide/directory-structure/layouts), create the a file with the same name in your project (in the appropriate directory).
134
-
135
- If you need to override a [composable](https://nuxt.com/docs/guide/directory-structure/composables) or [utils](https://nuxt.com/docs/guide/directory-structure/utils) utility function, create a function with the same name in your project (in the appropriate directory).
136
-
137
- ## <a name="updates">βœ… Updates</a>
138
-
139
- [✨ Release Notes](/CHANGELOG.md)
140
-
141
- It's easy to stay up to date with the latest version of Nuxtify. Just update to the latest package using your favorite package manager.
142
-
143
- **Minor and patch versions**
144
- ```bash
145
- npm update @nuxtify/pages --save
146
- ```
147
-
148
- **Major versions**
149
- ```bash
150
- npm install @nuxtify/pages@latest --save
151
- ```
152
-
153
- ## <a name="contributing">❀️ Contributing</a>
154
-
155
- I invite you to contribute and help improve Nuxtify!
156
-
157
- Here are a few ways you can get involved:
158
-
159
- - **Reporting Bugs:** If you come across any bugs or issues, please [open a new issue](https://github.com/nuxtify-dev/pages/issues/new).
160
- - **Suggestions:** Have ideas to enhance Nuxtify? I'd love to hear them! You can [open a new issue](https://github.com/nuxtify-dev/pages/issues/new) describing your feature request or suggestion.
161
- - **Local Development:** contribute directly to the framework with a pull request. Just follow the instructions below.
162
-
163
- ## <a name="local-development">🏠 Local Development</a>
164
-
165
- ### CLI commands
166
-
167
- ```bash
168
- # Install dependencies
169
- npm install
170
-
171
- # Generate type stubs
172
- npm run dev:prepare
173
-
174
- # Develop with the playground
175
- npm run dev
176
-
177
- # Build the playground
178
- npm run dev:build
179
-
180
- # Run ESLint
181
- npm run lint
182
-
183
- # Run Vitest
184
- npm run test
185
- npm run test:watch
186
- ```
187
-
188
- Learn about [authoring Nuxt modules](https://nuxt.com/docs/guide/going-further/modules).
189
-
190
- ## <a name="license">βš–οΈ License</a>
191
-
192
- [MIT](https://github.com/nuxtify-dev/pages/blob/main/LICENSE)
193
-
194
- <!-- Badges -->
195
-
196
- [npm-version-src]: https://img.shields.io/npm/v/@nuxtify/pages/latest.svg?style=flat&colorA=020420&colorB=00DC82
197
- [npm-version-href]: https://npmjs.com/package/@nuxtify/pages
198
- [npm-downloads-src]: https://img.shields.io/npm/dm/@nuxtify/pages.svg?style=flat&colorA=020420&colorB=00DC82
199
- [npm-downloads-href]: https://npm.chart.dev/@nuxtify/pages
200
- [license-src]: https://img.shields.io/npm/l/@nuxtify/pages.svg?style=flat&colorA=020420&colorB=00DC82
201
- [license-href]: https://npmjs.com/package/@nuxtify/pages
202
- [nuxtify-src]: https://img.shields.io/badge/Nuxtify_Docs-00DC82
203
- [nuxtify-href]: https://nuxtify.dev/docs
1
+ <div align=center>
2
+ <img src="./nuxtify-banner.png"/>
3
+ </div>
4
+
5
+ # Nuxtify Pages
6
+
7
+ <!--
8
+ [![npm downloads][npm-downloads-src]][npm-downloads-href]
9
+ [![Nuxtify Docs][nuxtify-src]][nuxtify-href] -->
10
+
11
+ [![npm version][npm-version-src]][npm-version-href]
12
+ [![License][license-src]][license-href]
13
+ [![πŸ€ Playground][playground-src]][playground-href]
14
+
15
+ > [!NOTE]
16
+ >
17
+ > **Early Access Preview:**
18
+ > This module is under active development. While it is already used to power a [handful of sites](https://nuxtify.dev/showcase) in production, expect things to change frequently. I will do my best to call out breaking changes in the [changelog](https://github.com/nuxtify-dev/pages/blob/main/CHANGELOG.md).
19
+
20
+ ### Table of Contents
21
+
22
+ - ♾️ [Why Nuxtify?](#why-nuxtify)
23
+ - 🧩 [Nuxtify Modules](#modules)
24
+ - ✨ [Features](#features)
25
+ - πŸš€ [Quick Start](#quick-start)
26
+ - πŸ”§ [Configuration](#configuration)
27
+ - βœ… [Updates](#updates)
28
+ - ❀️ [Contributing](#contributing)
29
+ - 🏠 [Local Development](#local-development)
30
+ - βš–οΈ [License](#license)
31
+
32
+ ## <a name="why-nuxtify">♾️ Why Nuxtify?</a>
33
+
34
+ Nuxtify is a collection of [Nuxt modules](https://nuxt.com/docs/guide/concepts/modules) that help you stay organized, maintain focus, and _ship weirdly fast_.
35
+
36
+ It's built on a loosely opinionated stack that eliminates decision fatigue and ensures consistency across projects. This extensible approach gives you incredible control over your site's structure and style.
37
+
38
+ Once you add a Nuxtify module (like this one) to a new or existing Nuxt project, you can use any of the components, composables, and other features instantly – no imports necessary. And more importantly, you can override these defaults with your own version at any time.
39
+
40
+ **This unlocks a powerful way of working.**
41
+
42
+ Use the defaults when they're helpful, and progressively upgrade when they're not.
43
+
44
+ This means you can:
45
+
46
+ - Setup a new project using the default configuration in a matter of minutes.
47
+ - Use the default footer component, but completely change the navigation component.
48
+ - Change the colors of all the buttons with one line of code.
49
+ - Override the default button component with a style of your choosing.
50
+ - And much more...
51
+
52
+ In short, Nuxtify helps you build faster, iterate smarter, and maintain consistency – without sacrificing control or creativity.
53
+
54
+ ## <a name="modules">🧩 Modules</a>
55
+
56
+ ### [Nuxtify Core](https://github.com/nuxtify-dev/core)
57
+
58
+ Provides the core functionality for Nuxtify, including:
59
+
60
+ - Default components, composables, and utilities
61
+ - Global configuration and theming with [Vuetify](https://vuetifyjs.com/en/introduction/why-vuetify/)
62
+
63
+ ### [Nuxtify Pages](https://github.com/nuxtify-dev/pages) (this module)
64
+
65
+ Provides single and multi-page website building blocks so you can _ship weirdly fast_.
66
+
67
+ - Ready to use page components, page templates, and email subscribe form
68
+ - (coming soon) Robots, sitemaps, schema.org, social share images, broken links, and more powered by [Nuxt SEO](https://nuxtseo.com/)
69
+
70
+ ## <a name="features">✨ Features</a>
71
+
72
+ Nuxtify Pages builds on the functionality in [Nuxtify Core](https://github.com/nuxtify-dev/core).
73
+
74
+ ### πŸ’‘ Intuitive UI & UX
75
+
76
+ - Ready to use components, page templates, and layouts so you can _ship weirdly fast_
77
+ - Easily override any component with [Vuetify global defaults](https://vuetifyjs.com/en/features/global-configuration/)
78
+ - Icons powered by [Material Design Icons](https://pictogrammers.com/library/mdi/) via [Vuetify icon fonts](https://vuetifyjs.com/en/features/icon-fonts/)
79
+ - Fully responsive and adapts to all modern browsers and devices
80
+ - (coming soon) Light and dark mode toggle
81
+
82
+ ### πŸ’Ž Premium DX
83
+
84
+ - Zero-config with sensible defaults for common use cases
85
+ - All components use the modern [Vue Composition API](https://vuejs.org/guide/extras/composition-api-faq) and [Single File Component (SFC) syntax](https://vuejs.org/guide/scaling-up/sfc.html)
86
+ - [TypeScript](https://www.typescriptlang.org/) auto-complete and type safety for all components
87
+ - [ESLint](https://eslint.org/) support out of the box using flat config (v9)
88
+ - Identify performance gaps and seamlessly manage your app with [Nuxt Devtools](https://devtools.nuxt.com/)
89
+ - Clean, elegant code that's easy to understand and customize
90
+ - Loosely opinionated, leveraging ecosystem standards so you're not locked into outdated dependencies and practices
91
+
92
+ ### πŸ€– Smart SEO, Security, & Performance
93
+
94
+ - Fully tree shakeable for small bundle sizes
95
+ - Optimized caching and rendering strategies for each page with [hybrid rendering](https://nuxt.com/docs/guide/concepts/rendering#hybrid-rendering)
96
+ - (coming soon) Robots, sitemaps, schema.org, social share images, broken links, and more powered by [Nuxt SEO](https://nuxtseo.com/)
97
+ - (coming soon) Fast, responsive, optimized images for [20+ image providers](https://image.nuxt.com/get-started/providers) powered by [Nuxt Image](https://image.nuxt.com/)
98
+ - (coming soon) Load third-party scripts with better performance, privacy, security powered by [Nuxt Scripts](https://scripts.nuxt.com/)
99
+ - (coming soon) Optimal security patterns and principles powered by [Nuxt Security](https://nuxt.com/modules/security)
100
+
101
+ ### 🌐 Host Anywhere
102
+
103
+ - Deploy to any Node.js server, static host, or serverless edge CDN environment with [20+ hosting providers](https://nuxt.com/deploy) supported
104
+
105
+ ## <a name="quick-start">πŸš€ Quick Start</a>
106
+
107
+ To use this module in your [new](https://nuxt.com/docs/getting-started/installation) or existing Nuxt project:
108
+
109
+ ### 1. Install the module
110
+
111
+ Install the module in your Nuxt application with one command:
112
+
113
+ ```bash
114
+ npx nuxi@latest module add @nuxtify/pages
115
+ ```
116
+
117
+ ### 2. Update Nuxt config
118
+
119
+ Add the `@nuxtify/pages` module to `nuxt.config.ts` and configure it:
120
+
121
+ ```ts
122
+ // nuxt.config.ts
123
+
124
+ export default defineNuxtConfig({
125
+ modules: ["@nuxtify/pages"],
126
+ nuxtifyPages: {
127
+ /* module specific options */
128
+ },
129
+ });
130
+ ```
131
+
132
+ Read the [πŸ“– documentation](https://nuxtify.dev/docs) for a complete guide on how to configure and use this module.
133
+
134
+ ### 3. Start building!
135
+
136
+ Develop and [deploy](https://nuxt.com/docs/getting-started/deployment) your Nuxt app like any other.
137
+
138
+ ## <a name="configuration">πŸ”§ Configuration</a>
139
+
140
+ ### Module configuration
141
+
142
+ To see the full config, check out the [types](https://github.com/nuxtify-dev/pages/blob/main/src/types.ts).
143
+
144
+ ### Overriding the defaults
145
+
146
+ Nuxtify comes pre-configured with sensible defaults. Both for how the module functions and for the corresponding Nuxt [directory](https://nuxt.com/docs/guide/directory-structure).
147
+
148
+ If you need to override a [component](https://nuxt.com/docs/guide/directory-structure/components), [page](https://nuxt.com/docs/guide/directory-structure/pages), or [layout](https://nuxt.com/docs/guide/directory-structure/layouts), create the a file with the same name in your project (in the appropriate directory).
149
+
150
+ If you need to override a [composable](https://nuxt.com/docs/guide/directory-structure/composables) or [utils](https://nuxt.com/docs/guide/directory-structure/utils) utility function, create a function with the same name in your project (in the appropriate directory).
151
+
152
+ ## <a name="updates">βœ… Updates</a>
153
+
154
+ [✨ Release Notes](/CHANGELOG.md)
155
+
156
+ It's easy to stay up to date with the latest version of Nuxtify. Just update to the latest package using your favorite package manager.
157
+
158
+ **Minor and patch versions**
159
+
160
+ ```bash
161
+ npm update @nuxtify/pages --save
162
+ ```
163
+
164
+ **Major versions**
165
+
166
+ ```bash
167
+ npm install @nuxtify/pages@latest --save
168
+ ```
169
+
170
+ ## <a name="contributing">❀️ Contributing</a>
171
+
172
+ I invite you to contribute and help improve Nuxtify!
173
+
174
+ Here are a few ways you can get involved:
175
+
176
+ - **Reporting Bugs:** If you come across any bugs or issues, please [open a new issue](https://github.com/nuxtify-dev/pages/issues/new).
177
+ - **Suggestions:** Have ideas to enhance Nuxtify? I'd love to hear them! You can [open a new issue](https://github.com/nuxtify-dev/pages/issues/new) describing your feature request or suggestion.
178
+ - **Local Development:** contribute directly to the framework with a pull request. Just follow the instructions below.
179
+
180
+ ## <a name="local-development">🏠 Local Development</a>
181
+
182
+ ### CLI commands
183
+
184
+ ```bash
185
+ # Install dependencies
186
+ npm install
187
+
188
+ # Generate type stubs
189
+ npm run dev:prepare
190
+
191
+ # Develop with the playground
192
+ npm run dev
193
+
194
+ # Build the playground
195
+ npm run dev:build
196
+
197
+ # Run ESLint
198
+ npm run lint
199
+
200
+ # Run Vitest
201
+ npm run test
202
+ npm run test:watch
203
+ ```
204
+
205
+ Learn about [authoring Nuxt modules](https://nuxt.com/docs/guide/going-further/modules).
206
+
207
+ ## <a name="license">βš–οΈ License</a>
208
+
209
+ [MIT](https://github.com/nuxtify-dev/pages/blob/main/LICENSE)
210
+
211
+ <!-- Badges -->
212
+
213
+ [npm-version-src]: https://img.shields.io/npm/v/@nuxtify/pages/latest.svg?style=flat&colorA=020420&colorB=00DC82
214
+ [npm-version-href]: https://npmjs.com/package/@nuxtify/pages
215
+ [npm-downloads-src]: https://img.shields.io/npm/dm/@nuxtify/pages.svg?style=flat&colorA=020420&colorB=00DC82
216
+ [npm-downloads-href]: https://npm.chart.dev/@nuxtify/pages
217
+ [license-src]: https://img.shields.io/npm/l/@nuxtify/pages.svg?style=flat&colorA=020420&colorB=00DC82
218
+ [license-href]: https://npmjs.com/package/@nuxtify/pages
219
+ [nuxtify-src]: https://img.shields.io/badge/Nuxtify_Docs-00DC82
220
+ [nuxtify-href]: https://nuxtify.dev/docs
221
+ [playground-src]: https://img.shields.io/badge/%F0%9F%8F%80_Playground-Demo-00DC82?labelColor=020420
222
+ [playground-href]: https://stackblitz.com/github/nuxtify-dev/pages?file=playground%2Fpages%2Findex.vue
package/dist/module.d.mts CHANGED
@@ -11,79 +11,7 @@ interface FooterLinks {
11
11
  title: string;
12
12
  links: Link[];
13
13
  }
14
- interface BrandOptions {
15
- /**
16
- * The name of the brand.
17
- *
18
- * @default "nuxtify-pages"
19
- */
20
- name?: string;
21
- /**
22
- * The domain of the brand.
23
- *
24
- * @default ""
25
- */
26
- domain?: string;
27
- /**
28
- * The tagline of the brand.
29
- *
30
- * @default ""
31
- */
32
- tagline?: string;
33
- /**
34
- * The logo of the brand.
35
- */
36
- logo?: {
37
- /**
38
- * The URL of the light logo. Recommended 5:1 aspect ratio (e.g. 400 x 80 px).
39
- *
40
- * @default ""
41
- */
42
- lightUrl?: string;
43
- /**
44
- * The URL of the dark logo. Recommended 5:1 aspect ratio (e.g. 400 x 80 px).
45
- *
46
- * @default ""
47
- */
48
- darkUrl?: string;
49
- /**
50
- * The width of the logo.
51
- *
52
- * @default 200
53
- */
54
- width?: number;
55
- /**
56
- * The width of the logo on mobile.
57
- *
58
- * @default 150
59
- */
60
- mobileWidth?: number;
61
- };
62
- }
63
- interface PagesOptions {
64
- policies: {
65
- privacyUrl: string;
66
- termsUrl: string;
67
- };
68
- }
69
14
  interface ModuleOptions {
70
- /**
71
- * Brand options
72
- */
73
- brand?: BrandOptions;
74
- /**
75
- * Pages options
76
- */
77
- pages?: PagesOptions;
78
- /**
79
- * Announcement banner options
80
- */
81
- announcement?: {
82
- show?: boolean;
83
- message?: string;
84
- buttonText?: string;
85
- buttonUrl?: string;
86
- };
87
15
  /**
88
16
  * Navigation options
89
17
  */
@@ -98,15 +26,6 @@ interface ModuleOptions {
98
26
  */
99
27
  footer?: {
100
28
  copyright?: string;
101
- credits?: {
102
- creator?: {
103
- name?: string;
104
- domain?: string;
105
- };
106
- prependText?: string;
107
- appendText?: string;
108
- showPoweredBy?: boolean;
109
- };
110
29
  cta?: {
111
30
  show?: boolean;
112
31
  title?: string;
@@ -118,8 +37,6 @@ interface ModuleOptions {
118
37
  * Email options
119
38
  */
120
39
  email?: {
121
- general?: string;
122
- support?: string;
123
40
  provider?: {
124
41
  defaultSubmitUrl?: string;
125
42
  };
package/dist/module.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
- "name": "nuxtify-pages",
2
+ "name": "@nuxtify/pages",
3
+ "version": "0.3.1",
3
4
  "configKey": "nuxtifyPages",
4
5
  "compatibility": {
5
6
  "nuxt": ">=3.16.0",
6
7
  "bridge": false
7
8
  },
8
- "version": "0.2.0",
9
9
  "builder": {
10
10
  "@nuxt/module-builder": "1.0.1",
11
11
  "unbuild": "3.5.0"