2025-08-08 13:11:33 +09:00
|
|
|
// https://nuxt.com/docs/api/configuration/nuxt-config
|
|
|
|
export default defineNuxtConfig({
|
|
|
|
compatibilityDate: "2025-05-15",
|
|
|
|
devtools: { enabled: true },
|
|
|
|
modules: [
|
|
|
|
"@nuxt/eslint",
|
|
|
|
"@nuxt/image",
|
|
|
|
"@nuxt/icon",
|
|
|
|
"@pinia/nuxt",
|
2025-08-28 16:59:15 +09:00
|
|
|
"pinia-plugin-persistedstate/nuxt",
|
2025-08-08 13:11:33 +09:00
|
|
|
"@nuxtjs/tailwindcss",
|
|
|
|
],
|
|
|
|
app: {
|
|
|
|
head: {
|
|
|
|
link: [
|
|
|
|
{
|
|
|
|
rel: "stylesheet",
|
|
|
|
href: "https://fonts.googleapis.com/icon?family=Material+Icons",
|
|
|
|
},
|
|
|
|
],
|
2025-08-28 16:59:15 +09:00
|
|
|
script: [{ src: "/dist/igv.js", defer: true }],
|
2025-08-08 13:11:33 +09:00
|
|
|
},
|
|
|
|
},
|
|
|
|
vite: {
|
|
|
|
optimizeDeps: {
|
2025-08-28 16:59:15 +09:00
|
|
|
include: ["cytoscape-overlays"],
|
2025-08-08 13:11:33 +09:00
|
|
|
},
|
|
|
|
build: {
|
|
|
|
commonjsOptions: {
|
|
|
|
transformMixedEsModules: true,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
nitro: {
|
2025-08-28 16:59:15 +09:00
|
|
|
logLevel: "debug",
|
2025-08-08 13:11:33 +09:00
|
|
|
},
|
|
|
|
runtimeConfig: {
|
|
|
|
public: {
|
2025-08-28 16:59:15 +09:00
|
|
|
apiBase: process.env.API_BASE || "http://localhost",
|
|
|
|
contextPath: process.env.CONTEXT_PATH || "/service",
|
|
|
|
},
|
2025-08-14 11:00:48 +09:00
|
|
|
},
|
|
|
|
typescript: {
|
|
|
|
shim: false,
|
|
|
|
strict: true,
|
|
|
|
},
|
2025-08-28 16:59:15 +09:00
|
|
|
plugins: ["~/plugins/vue3-tui-grid.client.ts"],
|
2025-08-22 14:01:30 +09:00
|
|
|
components: [
|
2025-08-28 16:59:15 +09:00
|
|
|
{ path: "~/components", pathPrefix: false }, // 경로 접두사 제거
|
|
|
|
],
|
2025-08-08 13:11:33 +09:00
|
|
|
});
|