+
+ Sample error was sent to Sentry.
+
+
+
+
+
diff --git a/nuxt.config.ts b/nuxt.config.ts
index 0cccdbc..5b96937 100644
--- a/nuxt.config.ts
+++ b/nuxt.config.ts
@@ -6,6 +6,7 @@ export default defineNuxtConfig({
"@nuxt/eslint",
"@nuxt/image",
"@nuxtjs/robots",
+ "@sentry/nuxt/module",
"@vueuse/nuxt",
"nuxt-delay-hydration",
"nuxt-icon",
@@ -57,8 +58,26 @@ export default defineNuxtConfig({
// The private keys which are only available server-side
apiUrl: "",
// Keys within public are also exposed client-side
+ public: {
+ sentry: {
+ dsn: "",
+ },
+ },
},
ssr: true,
compatibilityDate: "2024-12-13",
+
+ sentry: {
+ sourceMapsUploadOptions: {
+ org: "ruidy",
+ project: "meal-planner",
+ },
+
+ autoInjectServerSentry: "top-level-import",
+ },
+
+ sourcemap: {
+ client: "hidden",
+ },
});
diff --git a/package.json b/package.json
index e4b5eb2..87f15cd 100644
--- a/package.json
+++ b/package.json
@@ -16,15 +16,16 @@
"@nuxt/eslint": "^0.7.6",
"@nuxt/image": "^1.10.0",
"@nuxtjs/robots": "5.0.1",
+ "@sentry/nuxt": "^9",
"@trpc/client": "^10.45.2",
"@trpc/server": "^10.45.2",
"@vueuse/nuxt": "12.0.0",
- "nuxt": "^3.16.2",
+ "nuxt": "^3.17.4",
"nuxt-icon": "^0.6.10",
"trpc-nuxt": "^0.10.22",
- "vue": "^3.5.13",
- "vue-router": "^4.5.0",
- "zod": "^3.24.2"
+ "vue": "^3.5.15",
+ "vue-router": "^4.5.1",
+ "zod": "^3.25.28"
},
"devDependencies": {
"@tailwindcss/typography": "^0.5.16",
@@ -35,5 +36,8 @@
"prettier": "3.4.2",
"prettier-plugin-tailwindcss": "^0.6.11",
"tailwindcss": "^3.4.17"
+ },
+ "overrides": {
+ "@vercel/nft": "^0.27.4"
}
}
diff --git a/pages/cookbook.vue b/pages/cookbook.vue
index 72c269c..5e1f1a9 100644
--- a/pages/cookbook.vue
+++ b/pages/cookbook.vue
@@ -6,6 +6,7 @@ const cookbook = useStorage