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",
|
|
|
|
"@nuxtjs/tailwindcss",
|
|
|
|
],
|
|
|
|
app: {
|
|
|
|
head: {
|
|
|
|
link: [
|
|
|
|
{
|
|
|
|
rel: "stylesheet",
|
|
|
|
href: "https://fonts.googleapis.com/icon?family=Material+Icons",
|
|
|
|
},
|
|
|
|
],
|
|
|
|
script: [
|
|
|
|
{ src: '/dist/igv.js', defer: true }
|
|
|
|
]
|
|
|
|
},
|
|
|
|
},
|
|
|
|
vite: {
|
|
|
|
optimizeDeps: {
|
|
|
|
include: ['cytoscape-overlays'],
|
|
|
|
},
|
|
|
|
build: {
|
|
|
|
commonjsOptions: {
|
|
|
|
transformMixedEsModules: true,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
nitro: {
|
|
|
|
logLevel: 'debug'
|
|
|
|
},
|
|
|
|
runtimeConfig: {
|
|
|
|
public: {
|
|
|
|
apiBase: 'http://localhost'
|
|
|
|
}
|
2025-08-14 11:00:48 +09:00
|
|
|
},
|
|
|
|
typescript: {
|
|
|
|
shim: false,
|
|
|
|
strict: true,
|
|
|
|
},
|
|
|
|
plugins: ['~/plugins/vue3-tui-grid.client.ts']
|
2025-08-08 13:11:33 +09:00
|
|
|
});
|