122 lines
2.8 KiB
TypeScript
122 lines
2.8 KiB
TypeScript
export default defineNuxtConfig({
|
|
ssr: false,
|
|
compatibilityDate: "2024-11-01",
|
|
devtools: { enabled: true },
|
|
modules: ["nuxt-directus", "vuetify-nuxt-module", "@vite-pwa/nuxt"],
|
|
pwa: {
|
|
registerType: 'autoUpdate',
|
|
workbox: {
|
|
navigateFallback: '/',
|
|
globPatterns: ['**/*.{js,css,html,png,svg,ico}'],
|
|
},
|
|
client: {
|
|
installPrompt: true,
|
|
periodicSyncForUpdates: 20,
|
|
},
|
|
manifest: {
|
|
name: 'Port Nimara Client Portal',
|
|
short_name: 'Port Nimara',
|
|
description: 'Manage and track berth interests for Port Nimara marina',
|
|
theme_color: '#387bca',
|
|
background_color: '#ffffff',
|
|
display: 'standalone',
|
|
orientation: 'portrait',
|
|
scope: '/',
|
|
start_url: '/',
|
|
icons: [
|
|
{
|
|
src: 'icons/icon-72x72.png',
|
|
sizes: '72x72',
|
|
type: 'image/png'
|
|
},
|
|
{
|
|
src: 'icons/icon-96x96.png',
|
|
sizes: '96x96',
|
|
type: 'image/png'
|
|
},
|
|
{
|
|
src: 'icons/icon-128x128.png',
|
|
sizes: '128x128',
|
|
type: 'image/png'
|
|
},
|
|
{
|
|
src: 'icons/icon-144x144.png',
|
|
sizes: '144x144',
|
|
type: 'image/png'
|
|
},
|
|
{
|
|
src: 'icons/icon-152x152.png',
|
|
sizes: '152x152',
|
|
type: 'image/png'
|
|
},
|
|
{
|
|
src: 'icons/icon-192x192.png',
|
|
sizes: '192x192',
|
|
type: 'image/png'
|
|
},
|
|
{
|
|
src: 'icons/icon-384x384.png',
|
|
sizes: '384x384',
|
|
type: 'image/png'
|
|
},
|
|
{
|
|
src: 'icons/icon-512x512.png',
|
|
sizes: '512x512',
|
|
type: 'image/png'
|
|
}
|
|
]
|
|
},
|
|
devOptions: {
|
|
enabled: true,
|
|
type: 'module'
|
|
}
|
|
},
|
|
app: {
|
|
head: {
|
|
titleTemplate: "%s • Port Nimara Client Portal",
|
|
title: "Port Nimara Client Portal",
|
|
meta: [
|
|
{ property: "og:title", content: "Port Nimara Client Portal" },
|
|
{ property: "og:image", content: "/og-image.png" },
|
|
{ name: "twitter:card", content: "summary_large_image" },
|
|
],
|
|
htmlAttrs: {
|
|
lang: "en",
|
|
},
|
|
},
|
|
},
|
|
runtimeConfig: {
|
|
nocodb: {
|
|
url: "",
|
|
token: "",
|
|
},
|
|
minio: {
|
|
endPoint: "s3.portnimara.com",
|
|
port: 443,
|
|
useSSL: true,
|
|
accessKey: "279QFJV96Ja9wNB0YYmU1W3Pv4Ofeh3pxojcz0pzeC5LjRurq",
|
|
secretKey: "y8ze6nmA2VHJWDsIU1eNEBq4R4WlmJWp97UE0zUR7E4zWLS6O",
|
|
bucketName: "client-portal",
|
|
},
|
|
public: {
|
|
directus: {
|
|
url: "https://cms.portnimara.dev",
|
|
},
|
|
},
|
|
},
|
|
vuetify: {
|
|
vuetifyOptions: {
|
|
theme: {
|
|
defaultTheme: "portnimara",
|
|
themes: {
|
|
portnimara: {
|
|
colors: {
|
|
primary: "#387bca",
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
});
|