Skip to content

Commit

Permalink
chore: bump nuxt and a few other deps
Browse files Browse the repository at this point in the history
  • Loading branch information
ydennisy committed Jul 13, 2024
1 parent f196c83 commit f1314dc
Show file tree
Hide file tree
Showing 3 changed files with 1,439 additions and 3,661 deletions.
10 changes: 9 additions & 1 deletion frontend/nuxt.config.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
export default defineNuxtConfig({
devtools: { enabled: true },

// NOTE: this would allow moving everything into src!
// srcDir: "src/",
modules: ['@nuxtjs/tailwindcss', '@nuxtjs/supabase', '@pinia/nuxt'],

css: ['~/assets/css/main.css'],

runtimeConfig: {
public: {
apiBase: '',
Expand All @@ -12,6 +15,7 @@ export default defineNuxtConfig({
supabaseAnonKey: '',
},
},

routeRules: {
'/': { static: true },
'/**': { ssr: false },
Expand All @@ -22,10 +26,12 @@ export default defineNuxtConfig({
proxy: 'http://127.0.0.1:8000/openapi.json',
},
},

alias: {
// https://stackoverflow.com/questions/74003458/cannot-find-module-pinia-dist-pinia-mjs-when-using-run-dev
pinia: '/node_modules/@pinia/nuxt/node_modules/pinia/dist/pinia.mjs',
},

supabase: {
redirectOptions: {
login: '/login',
Expand All @@ -34,4 +40,6 @@ export default defineNuxtConfig({
cookieRedirect: true,
},
},
});

compatibilityDate: '2024-07-13',
});
Loading

0 comments on commit f1314dc

Please sign in to comment.