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:
Darko Gjorgjijoski
2026-04-07 12:48:15 +02:00
parent f83ec6e78f
commit 064bdf5395
424 changed files with 0 additions and 62746 deletions

View File

@@ -1,39 +0,0 @@
<template>
<div class="bg-surface/70 backdrop-blur-lg rounded-xl shadow-sm border border-white/15">
<div
v-if="hasHeaderSlot"
class="px-5 py-4 text-heading border-b border-line-light border-solid"
>
<slot name="header" />
</div>
<div :class="containerClass">
<slot />
</div>
<div
v-if="hasFooterSlot"
class="px-5 py-4 border-t border-line-light border-solid sm:px-6"
>
<slot name="footer" />
</div>
</div>
</template>
<script setup>
import { computed, useSlots } from 'vue'
const props = defineProps({
containerClass: {
type: String,
default: 'px-4 py-5 sm:px-8 sm:py-8',
},
})
const slots = useSlots()
const hasHeaderSlot = computed(() => {
return !!slots.header
})
const hasFooterSlot = computed(() => {
return !!slots.footer
})
</script>