2022-04-09 03:44:38 +00:00
|
|
|
import { defineConfig } from 'vite'
|
|
|
|
import vue from '@vitejs/plugin-vue'
|
2022-04-09 17:58:31 +00:00
|
|
|
import { quasar, transformAssetUrls } from '@quasar/vite-plugin'
|
2022-04-09 03:44:38 +00:00
|
|
|
|
|
|
|
// https://vitejs.dev/config/
|
|
|
|
export default defineConfig({
|
2022-04-09 18:02:30 +00:00
|
|
|
server: {
|
|
|
|
proxy: {
|
|
|
|
'/api': {
|
|
|
|
target: 'http://localhost:8000/',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
2022-04-09 17:58:31 +00:00
|
|
|
plugins: [
|
2022-04-09 19:31:27 +00:00
|
|
|
vue({
|
|
|
|
template: { transformAssetUrls },
|
|
|
|
}),
|
2022-04-09 17:58:31 +00:00
|
|
|
|
2022-04-09 19:31:27 +00:00
|
|
|
quasar({
|
|
|
|
sassVariables: 'src/quasar-variables.sass',
|
|
|
|
})],
|
2022-04-09 03:44:38 +00:00
|
|
|
})
|