diff --git a/bun.lockb b/bun.lockb index bb8092e..55eb8f1 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/nuxt.config.ts b/nuxt.config.ts index c81ba69..57902d2 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -1,6 +1,9 @@ // https://nuxt.com/docs/api/configuration/nuxt-config export default defineNuxtConfig({ devtools: { enabled: true }, + build: { + transpile: ["trpc-nuxt"], + }, css: ["~/assets/css/main.css"], image: { domains: ["www.themealdb.com"], diff --git a/package.json b/package.json index b1b2966..4cdc969 100644 --- a/package.json +++ b/package.json @@ -15,8 +15,11 @@ "dependencies": { "@nuxt/eslint": "^0.3.10", "@nuxt/image": "^1.6.0", + "@trpc/client": "^10.45.2", + "@trpc/server": "^10.45.2", "nuxt": "^3.11.2", "nuxt-icon": "^0.6.10", + "trpc-nuxt": "^0.10.22", "vue": "^3.4.21", "vue-router": "^4.3.0", "zod": "^3.23.8" diff --git a/pages/index.vue b/pages/index.vue index 71e2c75..d69696d 100644 --- a/pages/index.vue +++ b/pages/index.vue @@ -1,9 +1,17 @@ + +