feat: POC of useQuery -> mutation and query (#2512)

This commit is contained in:
Cristhian Zanforlin Lousa 2024-07-03 19:16:23 -03:00 • committed by GitHub
commit 9af47895f9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
16 changed files with 349 additions and 108 deletions

View file

@ -3,6 +3,7 @@ import dotenv from "dotenv";
import path from "path";
import { defineConfig } from "vite";
import svgr from "vite-plugin-svgr";
import tsconfigPaths from "vite-tsconfig-paths";
export default defineConfig(({ mode }) => {
dotenv.config({ path: path.resolve(__dirname, "../../.env") });
@ -32,7 +33,7 @@ export default defineConfig(({ mode }) => {
define: {
"process.env.BACKEND_URL": JSON.stringify(process.env.BACKEND_URL),
},
plugins: [react(), svgr()],
plugins: [react(), svgr(), tsconfigPaths()],
server: {
port: port,
proxy: {