diff --git a/src/components/MesComptes.vue b/src/components/MesComptes.vue new file mode 100644 index 0000000..1a17448 --- /dev/null +++ b/src/components/MesComptes.vue @@ -0,0 +1,88 @@ + + + + + diff --git a/src/config/noscomptes.js b/src/config/noscomptes.js index ce78056..2506aac 100644 --- a/src/config/noscomptes.js +++ b/src/config/noscomptes.js @@ -11,7 +11,7 @@ export const getAccounts = (oauthToken, userId) => { const headers = { "Authorization": "Bearer "+oauthToken }; - return Vue.axios.get("http://localhost:8081/users/"+userId+"/accountsgc", {headers}).then(response => {console.log(response);return response.data}) + return Vue.axios.get("http://localhost:8081/users/"+userId+"/accounts", {headers}).then(response => {console.log(response);return response.data}) } export const getSharedAccounts = (oauthToken, userId) => { diff --git a/src/main.js b/src/main.js index 45170cf..b0deae0 100644 --- a/src/main.js +++ b/src/main.js @@ -8,7 +8,7 @@ import VueAxios from 'vue-axios' import '@/assets/css/style.css' import GoogleAuth from '@/config/google_oAuth.js' -import { BootstrapVue, IconsPlugin } from 'bootstrap-vue' +import { BootstrapVue, IconsPlugin , BootstrapVueIcons, ModalPlugin} from 'bootstrap-vue' // Import Bootstrap an BootstrapVue CSS files (order is important) import 'bootstrap/dist/css/bootstrap.css' @@ -33,3 +33,6 @@ new Vue({ Vue.use(BootstrapVue) // Optionally install the BootstrapVue icon components plugin Vue.use(IconsPlugin) + +Vue.use(BootstrapVueIcons) +Vue.use(ModalPlugin) diff --git a/src/views/Home.vue b/src/views/Home.vue index 3c3869e..d2f7e75 100644 --- a/src/views/Home.vue +++ b/src/views/Home.vue @@ -1,27 +1,32 @@