2023-03-08 23:13:33 +01:00
|
|
|
export default defineNuxtConfig({
|
|
|
|
// Global page headers: https://go.nuxtjs.dev/config-head
|
|
|
|
app: {
|
|
|
|
head: {
|
|
|
|
title: '...Hm!',
|
|
|
|
meta: [
|
|
|
|
{ charset: 'utf-8' },
|
|
|
|
{ name: 'viewport', content: 'width=device-width, initial-scale=1' },
|
|
|
|
{ hid: 'description', name: 'description', content: '' },
|
|
|
|
{ name: 'format-detection', content: 'telephone=no' }
|
|
|
|
],
|
|
|
|
link: [
|
|
|
|
{ rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' },
|
|
|
|
{ rel: 'stylesheet', type: 'text/css', href: '/css/stajl.css' }
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
imports: {
|
|
|
|
dirs: ['stores']
|
|
|
|
},
|
|
|
|
modules: [
|
|
|
|
['@pinia/nuxt', { autoImports: ['defineStore', 'acceptHMRUpdate']}]
|
|
|
|
//'nuxt-proxy'
|
|
|
|
],
|
|
|
|
proxy: {
|
|
|
|
options: {
|
|
|
|
target: process.env.BASE_URL,
|
|
|
|
changeOrigin: true,
|
|
|
|
pathFilter:
|
|
|
|
process.env.FILE_PATH
|
|
|
|
|
|
|
|
}
|
|
|
|
},
|
|
|
|
runtimeConfig: {
|
|
|
|
public: {
|
|
|
|
baseUrl: process.env.BASE_URL,
|
|
|
|
jsonapiPath: process.env.JSONAPI_PATH,
|
|
|
|
}
|
2023-05-03 23:49:58 +02:00
|
|
|
}
|
2023-03-08 23:13:33 +01:00
|
|
|
})
|