47 lines
756 B
TypeScript
47 lines
756 B
TypeScript
// https://nuxt.com/docs/api/configuration/nuxt-config
|
|
|
|
import vuetify, { transformAssetUrls } from 'vite-plugin-vuetify'
|
|
|
|
export default defineNuxtConfig({
|
|
app: {
|
|
head: {
|
|
title: "Label Editor",
|
|
},
|
|
},
|
|
|
|
runtimeConfig: {
|
|
public: {
|
|
url: process.env.URL || 'http://localhost:9090',
|
|
},
|
|
},
|
|
|
|
compatibilityDate: '2025-07-15',
|
|
devtools: { enabled: true },
|
|
|
|
ssr: false,
|
|
pages: true,
|
|
components: true,
|
|
|
|
plugins: ['~/plugins/vuetify.ts'],
|
|
|
|
css: [
|
|
'vuetify/styles',
|
|
'@mdi/font/css/materialdesignicons.min.css',
|
|
],
|
|
|
|
build: {
|
|
transpile: ['vuetify'],
|
|
},
|
|
|
|
vite: {
|
|
plugins: [
|
|
vuetify({ autoImport: true }),
|
|
],
|
|
vue: {
|
|
template: {
|
|
transformAssetUrls,
|
|
},
|
|
},
|
|
}
|
|
})
|