diff --git a/vite.config.ts b/vite.config.ts index 2986573..731ae55 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -4,13 +4,19 @@ import { quasar, transformAssetUrls } from '@quasar/vite-plugin' // https://vitejs.dev/config/ export default defineConfig({ + server: { + proxy: { + '/api': { + target: 'http://localhost:8000/', + }, + }, + }, plugins: [ - vue({ - template: { transformAssetUrls }, - }), + vue({ + template: { transformAssetUrls }, + }), - quasar({ - sassVariables: 'src/quasar-variables.sass', - }), - ], + quasar({ + sassVariables: 'src/quasar-variables.sass', + }),] })