init source
This commit is contained in:
24
app.vue
Normal file
24
app.vue
Normal file
@@ -0,0 +1,24 @@
|
||||
<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>
|
Reference in New Issue
Block a user