@plutocms/pluto 0.3.0 → 0.3.2
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 +14 -0
- package/FEATURES.md +7 -0
- package/README.md +5 -1
- package/app/assets/css/tailwind.css +2 -3
- package/app/components/Pluto/PlutoRoot.vue +12 -6
- package/app/layouts/admin.vue +1 -3
- package/nuxt.config.ts +0 -6
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,20 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
3
|
|
|
4
|
+
## [0.3.2](https://github.com/plutocms/pluto/compare/v0.3.1...v0.3.2) (2026-09-10)
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
### Bug Fixes
|
|
8
|
+
|
|
9
|
+
* move icon sets from devDependencies to dependencies ([9ed15ac](https://github.com/plutocms/pluto/commit/9ed15ac5d789e72918dc644325b3dc64fe7cc663))
|
|
10
|
+
|
|
11
|
+
## [0.3.1](https://github.com/plutocms/pluto/compare/v0.3.0...v0.3.1) (2026-09-09)
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### Bug Fixes
|
|
15
|
+
|
|
16
|
+
* **navbar:** render registered admin navbar ([#121](https://github.com/plutocms/pluto/issues/121)) ([0fa66dd](https://github.com/plutocms/pluto/commit/0fa66dde70acc7e8f8fb2a5685d9971ae0eba303))
|
|
17
|
+
|
|
4
18
|
## [0.3.0](https://github.com/plutocms/pluto/compare/v0.2.1...v0.3.0) (2026-09-09)
|
|
5
19
|
|
|
6
20
|
|
package/FEATURES.md
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
# Features
|
|
2
|
+
|
|
3
|
+
This file lists every implemented feature of this project. Each entry links to a skill file
|
|
4
|
+
with full detail, so this file stays short.
|
|
5
|
+
|
|
6
|
+
See the workspace-level `CLAUDE.md` (one directory up) for the delegation, writing, and git
|
|
7
|
+
policies shared by every project here.
|
package/README.md
CHANGED
|
@@ -63,12 +63,16 @@ Pluto CMS is built around **layers**, each responsible for a specific concern.
|
|
|
63
63
|
|
|
64
64
|
The core layer provides the foundation for your CMS:
|
|
65
65
|
|
|
66
|
-
- `<PlutoRoot>`: Wraps your entire app (used in `app.vue`). Includes `NuxtLayout`, `NuxtLoadingIndicator`, and base styles.
|
|
66
|
+
- `<PlutoRoot>`: Wraps your entire app (used in `app.vue`). Includes the registered admin navbar, `NuxtLayout`, `NuxtLoadingIndicator`, and base styles.
|
|
67
67
|
- `<ColorModeButton>`: Light/dark mode toggle with zero configuration.
|
|
68
68
|
- Built-in auth and admin layouts
|
|
69
69
|
- `<PlutoNavbarAdmin>` and `<PlutoNavbarAdminActions>`
|
|
70
70
|
Provide structure for injecting actions from other layers
|
|
71
71
|
|
|
72
|
+
Backend layers can provide the complete admin navbar with
|
|
73
|
+
`useNavbarAdmin().registerNavbar(component)`. Feature layers can append controls
|
|
74
|
+
with `useNavbarAdminActions().addAction(component)`.
|
|
75
|
+
|
|
72
76
|
### Backend layers
|
|
73
77
|
|
|
74
78
|
Backend layers handle data, authentication, and APIs.
|
|
@@ -2,11 +2,10 @@
|
|
|
2
2
|
@import '@nuxt/ui';
|
|
3
3
|
|
|
4
4
|
@source '../..';
|
|
5
|
-
@source '../../../../../app/**';
|
|
6
5
|
|
|
7
6
|
@theme {
|
|
8
|
-
--color-admin-content: var(--color-
|
|
9
|
-
--color-admin-sidebar: var(--color-
|
|
7
|
+
--color-admin-content: var(--color-zinc-800);
|
|
8
|
+
--color-admin-sidebar: var(--color-zinc-900);
|
|
10
9
|
|
|
11
10
|
--font-outfit: 'Outfit', sans-serif;
|
|
12
11
|
}
|
|
@@ -1,14 +1,20 @@
|
|
|
1
|
-
<script setup lang="ts"
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
const { navbar } = useNavbarAdmin()
|
|
3
|
+
</script>
|
|
2
4
|
|
|
3
5
|
<template>
|
|
4
|
-
<div class="grow">
|
|
5
|
-
<UApp>
|
|
6
|
+
<div class="flex min-h-0 min-w-0 w-full grow flex-col">
|
|
7
|
+
<UApp class="flex min-h-0 min-w-0 w-full grow flex-col">
|
|
6
8
|
<NuxtRouteAnnouncer />
|
|
7
9
|
<NuxtLoadingIndicator />
|
|
8
10
|
|
|
9
|
-
<
|
|
10
|
-
|
|
11
|
-
|
|
11
|
+
<component :is="navbar" v-if="navbar" />
|
|
12
|
+
|
|
13
|
+
<div class="min-h-0 min-w-0 w-full grow">
|
|
14
|
+
<NuxtLayout>
|
|
15
|
+
<slot />
|
|
16
|
+
</NuxtLayout>
|
|
17
|
+
</div>
|
|
12
18
|
</UApp>
|
|
13
19
|
</div>
|
|
14
20
|
</template>
|
package/app/layouts/admin.vue
CHANGED
|
@@ -36,10 +36,8 @@ watch(
|
|
|
36
36
|
|
|
37
37
|
<template>
|
|
38
38
|
<div
|
|
39
|
-
class="dark:bg-admin-content light:bg-white font-outfit flex h-
|
|
39
|
+
class="dark:bg-admin-content light:bg-white font-outfit flex h-full min-h-0 grow flex-col overflow-hidden"
|
|
40
40
|
>
|
|
41
|
-
<NavbarAdmin />
|
|
42
|
-
|
|
43
41
|
<div class="relative flex min-h-0 flex-1 items-stretch">
|
|
44
42
|
<Transition name="sidebar-fade">
|
|
45
43
|
<button
|
package/nuxt.config.ts
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import tailwindcss from '@tailwindcss/vite'
|
|
2
|
-
|
|
3
1
|
const websiteName = process.env.WEBSITE_NAME || 'Untitled'
|
|
4
2
|
|
|
5
3
|
// Point PLUTO_UTILS_PATH at a local checkout (e.g. `../utils`) to test
|
|
@@ -67,10 +65,6 @@ export default defineNuxtConfig({
|
|
|
67
65
|
|
|
68
66
|
compatibilityDate: '2025-08-15',
|
|
69
67
|
|
|
70
|
-
vite: {
|
|
71
|
-
plugins: [tailwindcss()],
|
|
72
|
-
},
|
|
73
|
-
|
|
74
68
|
typescript: {
|
|
75
69
|
includeWorkspace: true,
|
|
76
70
|
typeCheck: false,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@plutocms/pluto",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.3.
|
|
4
|
+
"version": "0.3.2",
|
|
5
5
|
"description": "The layerable CMS",
|
|
6
6
|
"author": "Victor Ribeiro",
|
|
7
7
|
"license": "MIT",
|
|
@@ -42,13 +42,13 @@
|
|
|
42
42
|
"vue-demi"
|
|
43
43
|
],
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@
|
|
45
|
+
"@iconify-json/lucide": "^1.2.116",
|
|
46
|
+
"@iconify-json/simple-icons": "^1.2.89",
|
|
47
|
+
"@plutocms/utils": "^0.2.1",
|
|
46
48
|
"@vueuse/nuxt": "^14.3.0"
|
|
47
49
|
},
|
|
48
50
|
"devDependencies": {
|
|
49
51
|
"@antfu/eslint-config": "^9.1.0",
|
|
50
|
-
"@iconify-json/lucide": "^1.2.116",
|
|
51
|
-
"@iconify-json/simple-icons": "^1.2.89",
|
|
52
52
|
"@nuxt/eslint": "^1.16.0",
|
|
53
53
|
"@nuxt/ui": "^4.9.0",
|
|
54
54
|
"@tailwindcss/vite": "^4.2.1",
|