diff --git a/client/env.d.ts b/client/env.d.ts new file mode 100644 index 0000000..d3c52bd --- /dev/null +++ b/client/env.d.ts @@ -0,0 +1,9 @@ +/// + +interface ImportMetaEnv { + readonly VITE_API_URL: string +} + +interface ImportMeta { + readonly env: ImportMetaEnv +} \ No newline at end of file diff --git a/client/src/components/addItem.vue b/client/src/components/addItem.vue index 825423c..7608dfe 100644 --- a/client/src/components/addItem.vue +++ b/client/src/components/addItem.vue @@ -22,7 +22,7 @@