This local working tree had accumulated a substantial amount of finished-but-never-committed frontend work: custom client fields (replacing the old static ClientFields with a dynamic ClientCustomFieldCard + useCustomFields), CSV import (useImport + settings/import page), history type management (useHistoryTypes + settings/history-types page), an admin-only route middleware, several new icon components, a shared useApiFetch composable, and a client detail page restructure ([id].vue -> [id]/index.vue). None of it had ever been pushed, so production was running a stale build that was already linking to routes/components that didn't exist server-side (missing IconSettings, 404s on /settings/import, etc). This commit brings the repo in line with local state.
30 lines
548 B
TypeScript
30 lines
548 B
TypeScript
export default defineNuxtConfig({
|
|
ssr: false,
|
|
experimental: {
|
|
viteEnvironmentApi: true,
|
|
},
|
|
modules: ['@nuxtjs/tailwindcss'],
|
|
devServer: {
|
|
port: 3000,
|
|
host: '0.0.0.0',
|
|
},
|
|
nitro: {
|
|
devProxy: {
|
|
'/api': {
|
|
target: 'http://backend:8000',
|
|
changeOrigin: true,
|
|
prependPath: false,
|
|
},
|
|
'/sanctum': {
|
|
target: 'http://backend:8000',
|
|
changeOrigin: true,
|
|
prependPath: false,
|
|
},
|
|
},
|
|
},
|
|
runtimeConfig: {
|
|
public: {
|
|
apiBase: '/api',
|
|
},
|
|
},
|
|
})
|