2023-03-08 23:13:33 +01:00
|
|
|
export default defineNuxtConfig({
|
|
|
|
// Global page headers: https://go.nuxtjs.dev/config-head
|
|
|
|
app: {
|
|
|
|
head: {
|
2023-09-30 20:14:02 +02:00
|
|
|
title: 'Jugofuturistični manifest',
|
2023-03-08 23:13:33 +01:00
|
|
|
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' },
|
2024-01-06 17:54:42 +01:00
|
|
|
{ rel: 'stylesheet', type: 'text/css', href: '/css/fonti.css' }
|
2023-03-08 23:13:33 +01:00
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
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-09-30 20:14:02 +02:00
|
|
|
etherpadUrl: process.env.ETHERPAD_URL,
|
|
|
|
etherpadPrefix: process.env.ETHERPAD_PREFIX
|
2023-03-08 23:13:33 +01:00
|
|
|
}
|
2024-01-17 20:24:11 +01:00
|
|
|
},
|
|
|
|
hooks: {
|
|
|
|
'pages:extend' (pages) {
|
|
|
|
pages.push({
|
2024-01-24 16:44:09 +01:00
|
|
|
name: 'poglej_pojem',
|
|
|
|
path: '/manifest/:naslov',
|
|
|
|
file: '~/pages/manifest/pojem.vue'
|
|
|
|
}, {
|
|
|
|
name: 'uredi_pojem',
|
|
|
|
path: '/manifest/:naslov/uredi/:guid',
|
|
|
|
file: '~/pages/manifest/pojem.vue'
|
2024-01-19 13:35:03 +01:00
|
|
|
}, {
|
|
|
|
name: 'nov_pojem_guid',
|
2024-01-24 16:44:09 +01:00
|
|
|
path: '/manifest/dodaj/:guid',
|
|
|
|
file: '~/pages/manifest/dodaj.vue'
|
2024-01-17 20:24:11 +01:00
|
|
|
})
|
|
|
|
}
|
2023-05-03 23:49:58 +02:00
|
|
|
}
|
2023-03-08 23:13:33 +01:00
|
|
|
})
|