blob: af889917f34fd25a5c59996267966e217a973c8a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
export default defineConfig({
base: '/',
plugins: [vue()],
server: {
proxy: {'/data': 'http://localhost:8000', '/tolData': 'http://localhost:8000', },
watch: {
ignored: ['**/backend', '**/public']
},
},
//server: {open: true} //open browser when dev server starts
})
|