mirror of
https://github.com/InvoiceShelf/InvoiceShelf.git
synced 2026-04-16 01:34:08 +00:00
Delete legacy v1 frontend (resources/scripts)
The resources/scripts/ directory was the original Vue 2 / Pinia v1 admin and customer-portal SPA. It has been fully orphaned for some time — vite.config.js has zero entry points pointing at it and the only blade @vite() reference in resources/views/app.blade.php loads scripts-v2/main.ts. The directory was pure dead code. Removes 424 .vue / .js / store / router / helper files (~2.7 MB) so that resources/scripts-v2/ can be renamed back to resources/scripts/ in a follow-up commit, dropping the v2 suffix now that there is no v1 left.
This commit is contained in:
@@ -1,54 +0,0 @@
|
||||
<template>
|
||||
<div
|
||||
class="
|
||||
fixed
|
||||
inset-0
|
||||
z-50
|
||||
flex flex-col
|
||||
items-end
|
||||
justify-start
|
||||
w-full
|
||||
px-4
|
||||
py-6
|
||||
pointer-events-none
|
||||
sm:p-6
|
||||
"
|
||||
>
|
||||
<transition-group
|
||||
enter-active-class="transition duration-300 ease-out"
|
||||
enter-from-class="translate-y-2 opacity-0 sm:translate-y-0 sm:translate-x-2"
|
||||
enter-to-class="translate-y-0 opacity-100 sm:translate-x-0"
|
||||
leave-active-class="transition duration-100 ease-in"
|
||||
leave-from-class="opacity-100"
|
||||
leave-to-class="opacity-0"
|
||||
>
|
||||
<NotificationItem
|
||||
v-for="notification in notifications"
|
||||
:key="notification.id"
|
||||
:notification="notification"
|
||||
/>
|
||||
</transition-group>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import NotificationItem from './NotificationItem.vue'
|
||||
import { computed } from 'vue'
|
||||
import { useNotificationStore } from '@/scripts/stores/notification'
|
||||
export default {
|
||||
components: {
|
||||
NotificationItem,
|
||||
},
|
||||
setup() {
|
||||
const notificationStore = useNotificationStore()
|
||||
|
||||
const notifications = computed(() => {
|
||||
return notificationStore.notifications
|
||||
})
|
||||
|
||||
return {
|
||||
notifications,
|
||||
}
|
||||
},
|
||||
}
|
||||
</script>
|
||||
Reference in New Issue
Block a user