From 543b149529dd4a3d4ed5c1e2d64a84feec6f0b2b Mon Sep 17 00:00:00 2001 From: Jared Date: Tue, 27 Dec 2022 18:49:22 -0500 Subject: [PATCH] Add some features, remove some code, fix some bugs --- src/App.vue | 25 ++++++++ src/api/types.ts | 3 +- src/assets/icons8-michigan-50.png | Bin 0 -> 892 bytes src/components/FundLink.vue | 2 +- src/lib/helpers.ts | 4 -- src/router/index.ts | 19 +++++- src/views/AddFundView.vue | 26 +++++---- src/views/FundView.vue | 92 +++++++++++++++++++----------- src/views/HomeView.vue | 7 ++- src/views/RegisterView.vue | 2 +- vue.config.js | 11 ++++ 11 files changed, 136 insertions(+), 55 deletions(-) create mode 100644 src/assets/icons8-michigan-50.png diff --git a/src/App.vue b/src/App.vue index f528b7a..91af1fc 100644 --- a/src/App.vue +++ b/src/App.vue @@ -43,6 +43,12 @@ + + diff --git a/vue.config.js b/vue.config.js index d51c838..aae3803 100644 --- a/vue.config.js +++ b/vue.config.js @@ -1,5 +1,16 @@ const { defineConfig } = require('@vue/cli-service'); module.exports = defineConfig({ + devServer: { + proxy: { + '^/api': { + target: 'http://localhost:7300', + changeOrigin: true, + secure: false, + pathRewrite: { '^/api': '' }, + logLevel: 'debug', + }, + }, + }, transpileDependencies: true, });