[소스 정리]

This commit is contained in:
2025-08-29 08:58:43 +09:00
parent 791d21d052
commit 41f8ec3232
2 changed files with 17 additions and 22 deletions

37
app.vue
View File

@@ -1,29 +1,24 @@
<template>
<NuxtLayout>
<keepAlive>
<NuxtPage :keepalive="true" />
</keepAlive>
<NuxtPage :keepalive="true" />
</NuxtLayout>
</template>
<!-- <script setup lang="ts">
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> -->
<style>
@import "./assets/css/main.css";
</style>
<script setup lang="ts">
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>