28 lines
725 B
TypeScript
28 lines
725 B
TypeScript
// https://nuxt.com/docs/api/configuration/nuxt-config
|
|
export default defineNuxtConfig({
|
|
compatibilityDate: "2025-07-15",
|
|
devtools: { enabled: false },
|
|
modules: ["@nuxt/eslint", "nuxt-maplibre", "@pinia/nuxt"],
|
|
vite: {
|
|
optimizeDeps: {
|
|
// noDiscovery: true,
|
|
// include: ["maplibre-gl"],
|
|
},
|
|
},
|
|
// hooks: {
|
|
// "pages:extend"(pages) {
|
|
// pages.push({
|
|
// name: "lines",
|
|
// path: "/lines/",
|
|
// file: "~/pages/lines/[line_id]/cluster/[cluster_id]/index.vue",
|
|
// });
|
|
// pages.push({
|
|
// name: "line_id",
|
|
// path: "/lines/:id()",
|
|
|
|
// file: "~/pages/lines/[line_id]/cluster/[cluster_id]/index.vue",
|
|
// });
|
|
// },
|
|
// },
|
|
});
|