[소스 정리]
This commit is contained in:
37
app.vue
37
app.vue
@@ -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>
|
||||
|
||||
|
||||
|
@@ -18,7 +18,7 @@ export default defineNuxtConfig({
|
||||
href: "https://fonts.googleapis.com/icon?family=Material+Icons",
|
||||
},
|
||||
],
|
||||
script: [{ src: "/dist/igv.js", defer: true }],
|
||||
//script: [{ src: "/dist/igv.js", defer: true }],
|
||||
},
|
||||
},
|
||||
vite: {
|
||||
|
Reference in New Issue
Block a user