24 lines
493 B
Vue
24 lines
493 B
Vue
<template>
|
|
<NuxtLayout>
|
|
<NuxtPage />
|
|
</NuxtLayout>
|
|
</template>
|
|
|
|
<style>
|
|
@import "./assets/css/main.css";
|
|
</style>
|
|
|
|
<script setup>
|
|
onMounted(() => {
|
|
const script = document.createElement('script')
|
|
script.src = '/dist/cy_custom.js'
|
|
script.async = true
|
|
script.onload = () => {
|
|
console.log('✅ cy_custom.js loaded')
|
|
}
|
|
script.onerror = () => {
|
|
console.error('❌ Failed to load cy_custom.js')
|
|
}
|
|
document.head.appendChild(script)
|
|
})
|
|
</script> |