From 1c69c4abf6e54ccab886c23cd6e691179ce6f076 Mon Sep 17 00:00:00 2001 From: Terry Truong Date: Fri, 7 Oct 2022 12:37:48 +1100 Subject: Install client side tools Install and configure Vite, Vue, Tailwind, Pinia, Typescript, and ESLint Add basic framework files (index.html, App.vue, main.ts, etc) Update READMEs Add favicon, font, and LICENCE.txt --- vite.config.ts | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 vite.config.ts (limited to 'vite.config.ts') diff --git a/vite.config.ts b/vite.config.ts new file mode 100644 index 0000000..895d557 --- /dev/null +++ b/vite.config.ts @@ -0,0 +1,17 @@ +import { defineConfig } from 'vite' +import vue from '@vitejs/plugin-vue' + +// https://vitejs.dev/config/ +export default defineConfig({ + plugins: [vue()], + base: '/', + server: { + proxy: {'/data': 'http://localhost:8000', '/hist_data': 'http://localhost:8000'}, + watch: { + ignored: ['**/backend', '**/public'], + }, + }, + build: { + sourcemap: true, + }, +}) -- cgit v1.2.3