nuxt-ignis 0.1.0 → 0.1.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.
- package/CHANGELOG.md +9 -0
- package/package.json +2 -2
- package/pages/index.vue +12 -8
package/CHANGELOG.md
ADDED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nuxt-ignis",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "Enhanced and customizable Nuxt application starter pack",
|
|
5
5
|
"repository": "github:AloisSeckar/nuxt-ignis",
|
|
6
6
|
"license": "MIT",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"consola": "3.2.3",
|
|
30
30
|
"defu": "6.1.4",
|
|
31
31
|
"nuxt": "3.14.1592",
|
|
32
|
-
"nuxt-neon": "0.
|
|
32
|
+
"nuxt-neon": "0.2.0",
|
|
33
33
|
"nuxt-security": "2.1.5",
|
|
34
34
|
"nuxt-time": "1.0.3",
|
|
35
35
|
"open-props": "1.7.7",
|
package/pages/index.vue
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
- an example usage of auto-imported Nuxt component declared in `/components` directory
|
|
9
9
|
- the text is (usually) being loaded localized via nuxtjs/i18n module
|
|
10
10
|
- features are being displayed conditionally according to current setting
|
|
11
|
-
|
|
11
|
+
|
|
12
12
|
NuxtLink
|
|
13
13
|
- special component for improved handling for HTML links (<a> tags)
|
|
14
14
|
-->
|
|
@@ -22,11 +22,11 @@
|
|
|
22
22
|
<AppFeature :text="useT('features.pinia')" />
|
|
23
23
|
<AppFeature :text="useT('features.vueuse')" />
|
|
24
24
|
<AppFeature :text="useT('features.consola')" />
|
|
25
|
-
<AppFeature v-if="
|
|
26
|
-
<AppFeature v-if="
|
|
27
|
-
<AppFeature v-if="
|
|
28
|
-
<AppFeature v-if="
|
|
29
|
-
<AppFeature v-if="
|
|
25
|
+
<AppFeature v-if="nuxtui" :text="useT('features.ui')" />
|
|
26
|
+
<AppFeature v-if="tailwind" :text="useT('features.tailwind')" />
|
|
27
|
+
<AppFeature v-if="nuxtui" :text="useT('features.icon')" />
|
|
28
|
+
<AppFeature v-if="neon" :text="useT('features.neon')" />
|
|
29
|
+
<AppFeature v-if="supabase" :text="useT('features.supabase')" />
|
|
30
30
|
<AppFeature v-if="i18n" :text="useT('features.i18n')" />
|
|
31
31
|
<AppFeature v-if="formkit" :text="useT('features.formkit')" />
|
|
32
32
|
<AppFeature v-if="content" :text="useT('features.content')" />
|
|
@@ -42,8 +42,12 @@
|
|
|
42
42
|
|
|
43
43
|
<script setup lang="ts">
|
|
44
44
|
const setup = useRuntimeConfig().public.ignis
|
|
45
|
-
const ui = setup.ui
|
|
46
|
-
const db = setup.db
|
|
45
|
+
const ui = setup.preset.ui
|
|
46
|
+
const db = setup.preset.db
|
|
47
|
+
const nuxtui = ui === 'nuxt-ui' || setup.ui
|
|
48
|
+
const tailwind = ui !== 'off' || setup.ui || setup.tailwind
|
|
49
|
+
const neon = db === 'neon' || setup.neon
|
|
50
|
+
const supabase = db === 'supabase' || setup.supabase
|
|
47
51
|
const i18n = setup.i18n
|
|
48
52
|
const formkit = setup.formkit
|
|
49
53
|
const content = setup.content
|