Initial project scaffolding
This commit is contained in:
108
nuxt.config.ts
Normal file
108
nuxt.config.ts
Normal file
@@ -0,0 +1,108 @@
|
||||
import Aura from '@primevue/themes/aura'
|
||||
import { definePreset } from '@primevue/themes'
|
||||
|
||||
const OysTheme = definePreset(Aura, {
|
||||
semantic: {
|
||||
primary: {
|
||||
50: '#e6f2fd',
|
||||
100: '#c4e0fa',
|
||||
200: '#8ac4f5',
|
||||
300: '#51a7f0',
|
||||
400: '#298be6',
|
||||
500: '#027be3',
|
||||
600: '#0262b5',
|
||||
700: '#014988',
|
||||
800: '#01315a',
|
||||
900: '#00182d',
|
||||
950: '#000c17',
|
||||
},
|
||||
},
|
||||
})
|
||||
|
||||
export default defineNuxtConfig({
|
||||
compatibilityDate: '2025-07-15',
|
||||
devtools: { enabled: true },
|
||||
|
||||
ssr: false,
|
||||
|
||||
modules: [
|
||||
'@primevue/nuxt-module',
|
||||
'@pinia/nuxt',
|
||||
'@vite-pwa/nuxt',
|
||||
'@nuxtjs/supabase',
|
||||
],
|
||||
|
||||
primevue: {
|
||||
options: {
|
||||
theme: {
|
||||
preset: OysTheme,
|
||||
options: {
|
||||
darkModeSelector: false,
|
||||
},
|
||||
},
|
||||
ripple: true,
|
||||
},
|
||||
},
|
||||
|
||||
supabase: {
|
||||
redirectOptions: {
|
||||
login: '/login',
|
||||
callback: '/auth/callback',
|
||||
exclude: ['/login', '/signup', '/auth/callback'],
|
||||
},
|
||||
},
|
||||
|
||||
app: {
|
||||
head: {
|
||||
meta: [{ name: 'theme-color', content: '#027be3' }],
|
||||
link: [
|
||||
{ rel: 'stylesheet', href: 'https://unpkg.com/@ionic/core/css/ionic.bundle.css' },
|
||||
],
|
||||
},
|
||||
},
|
||||
|
||||
css: [
|
||||
'@ionic/vue/css/core.css',
|
||||
'@ionic/vue/css/normalize.css',
|
||||
'@ionic/vue/css/structure.css',
|
||||
'@ionic/vue/css/typography.css',
|
||||
],
|
||||
|
||||
pwa: {
|
||||
manifest: {
|
||||
name: 'OYS Borrow a Boat',
|
||||
short_name: 'OYS BAB',
|
||||
description: 'Manage a Borrow a Boat program for a Yacht Club',
|
||||
theme_color: '#027be3',
|
||||
background_color: '#ffffff',
|
||||
display: 'standalone',
|
||||
orientation: 'natural',
|
||||
icons: [
|
||||
{ src: 'icons/icon-128x128.png', sizes: '128x128', type: 'image/png' },
|
||||
{ src: 'icons/icon-192x192.png', sizes: '192x192', type: 'image/png' },
|
||||
{ src: 'icons/icon-256x256.png', sizes: '256x256', type: 'image/png' },
|
||||
{ src: 'icons/icon-384x384.png', sizes: '384x384', type: 'image/png' },
|
||||
{ src: 'icons/icon-512x512.png', sizes: '512x512', type: 'image/png' },
|
||||
],
|
||||
},
|
||||
workbox: {
|
||||
navigateFallback: '/',
|
||||
},
|
||||
devOptions: {
|
||||
enabled: false,
|
||||
},
|
||||
},
|
||||
|
||||
vite: {
|
||||
optimizeDeps: {
|
||||
include: ['@ionic/vue'],
|
||||
},
|
||||
},
|
||||
|
||||
runtimeConfig: {
|
||||
public: {
|
||||
supabaseUrl: '',
|
||||
supabaseKey: '',
|
||||
},
|
||||
},
|
||||
})
|
||||
Reference in New Issue
Block a user