diff --git a/host/nuxt.config.ts b/host/nuxt.config.ts index 727c455..8f52eea 100644 --- a/host/nuxt.config.ts +++ b/host/nuxt.config.ts @@ -10,6 +10,16 @@ export default defineNuxtConfig({ preset: "static" }, vite: { + server: { + proxy: { + "^/node_modules/.*": { + target: "http://localhost:3000", + changeOrigin: true, + rewrite: (path) => + path.replace(/^\/node_modules\//, "/_nuxt/node_modules/") + } + } + }, $client: { plugins: [ topLevelAwait({ diff --git a/remote/pages/contact/properties.vue b/remote/pages/contact/properties.vue index 154685b..b9f3e38 100644 --- a/remote/pages/contact/properties.vue +++ b/remote/pages/contact/properties.vue @@ -2,10 +2,19 @@