feat : init project Coltura (CRM/ERP)
Symfony 8 + API Platform 4 + Nuxt 4 monorepo. Backend: User entity, JWT auth, fixtures. Frontend: login, dashboard, auth middleware, i18n, @malio/layer-ui. Docker: dev (ports 8083/3003/5436) + prod multi-stage. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
19
frontend/stores/ui.ts
Normal file
19
frontend/stores/ui.ts
Normal file
@@ -0,0 +1,19 @@
|
||||
import { defineStore } from 'pinia'
|
||||
|
||||
export const useUiStore = defineStore('ui', {
|
||||
state: () => ({
|
||||
sidebarCollapsed: false,
|
||||
sidebarOpen: false,
|
||||
}),
|
||||
actions: {
|
||||
toggleSidebar() {
|
||||
this.sidebarCollapsed = !this.sidebarCollapsed
|
||||
},
|
||||
openMobileSidebar() {
|
||||
this.sidebarOpen = true
|
||||
},
|
||||
closeMobileSidebar() {
|
||||
this.sidebarOpen = false
|
||||
},
|
||||
},
|
||||
})
|
||||
Reference in New Issue
Block a user