cinqcinqdev-seo 0.1.7 → 0.1.9
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 +10 -0
- package/dist/module.json +1 -1
- package/dist/runtime/components/admin/Navbar.vue +1 -0
- package/dist/runtime/composables/useAdminSections.js +1 -0
- package/dist/runtime/middleware/admin-auth.js +2 -0
- package/dist/runtime/pages/admin/account.vue +1 -0
- package/dist/runtime/pages/admin/editor/[id].vue +1 -0
- package/dist/runtime/pages/admin/index.vue +1 -0
- package/dist/runtime/pages/admin/pages/[type].vue +1 -0
- package/dist/runtime/plugins/admin-font.client.d.ts +0 -5
- package/dist/runtime/plugins/admin-font.client.js +1 -0
- package/dist/runtime/stores/adminUser.js +2 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -11,6 +11,16 @@ Drop it into any Nuxt project to get:
|
|
|
11
11
|
|
|
12
12
|
---
|
|
13
13
|
|
|
14
|
+
## Styling
|
|
15
|
+
|
|
16
|
+
The module ships its own pre-compiled CSS — **no Tailwind setup required in your project**.
|
|
17
|
+
|
|
18
|
+
- The admin UI always looks identical regardless of your project's CSS framework or design system.
|
|
19
|
+
- It uses the **Inter** font for all admin chrome (navbar, sidebars, panels).
|
|
20
|
+
- The **section preview** in the editor inherits your project's own body font automatically, so components look exactly as they do on the live site.
|
|
21
|
+
|
|
22
|
+
---
|
|
23
|
+
|
|
14
24
|
## Prerequisites
|
|
15
25
|
|
|
16
26
|
Your project must have these modules installed and configured:
|
package/dist/module.json
CHANGED
|
@@ -63,6 +63,7 @@
|
|
|
63
63
|
</template>
|
|
64
64
|
|
|
65
65
|
<script setup>
|
|
66
|
+
import { ref, computed, useRuntimeConfig, useRouter, useSupabaseUser } from "#imports";
|
|
66
67
|
import { useAdminUserStore } from "../../../stores/adminUser";
|
|
67
68
|
const config = useRuntimeConfig().public.adminCms;
|
|
68
69
|
const branding = computed(() => ({
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
<script setup>
|
|
2
|
+
import { ref, computed, watch, onMounted, useRuntimeConfig, useHead, useSupabaseClient, useSupabaseUser } from "#imports";
|
|
2
3
|
import { useAdminUserStore } from "../../stores/adminUser";
|
|
3
4
|
const user = useSupabaseUser();
|
|
4
5
|
const client = useSupabaseClient();
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
<script setup>
|
|
2
|
+
import { ref, computed, watch, definePageMeta, useRoute, useRuntimeConfig, useAsyncData, useHead, useSupabaseClient } from "#imports";
|
|
2
3
|
import { useAdminSections } from "../../../composables/useAdminSections";
|
|
3
4
|
definePageMeta({ layout: false });
|
|
4
5
|
const route = useRoute();
|
|
@@ -1,7 +1,2 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Captures the host project's body font-family BEFORE the admin scope
|
|
3
|
-
* (data-admin-cms) can shadow it, then stores it in --admin-site-font so
|
|
4
|
-
* the section preview area can revert to the correct host font.
|
|
5
|
-
*/
|
|
6
1
|
declare const _default: any;
|
|
7
2
|
export default _default;
|