Add login and logout functionality
- Add AuthenticationStore
- Add ability to login and logout
- Add route navigation guard
- Add login styles
- Add temporary authentication for api call
- Add Login directory
- Add index.js
In order to login a .env.development.local file that contains
BASE_URL="https://<ip address> or <FQDN>"
Signed-off-by: Derick Montague <derick.montague@ibm.com>
Change-Id: I88b93e287e66f4bae82a1ec2934cdef12d78264e
diff --git a/src/App.vue b/src/App.vue
index d0e1a0a..5667495 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -1,18 +1,6 @@
<template>
<div id="app">
- <AppHeader />
- <b-container fluid class="page-container">
- <b-row no-gutters>
- <b-col tag="nav" cols="12" md="3" lg="2">
- <AppNavigation />
- </b-col>
- <b-col cols="12" md="9" lg="10">
- <main id="#main-content">
- <router-view />
- </main>
- </b-col>
- </b-row>
- </b-container>
+ <router-view />
</div>
</template>
@@ -21,22 +9,7 @@
</style>
<script>
-import AppHeader from "@/components/AppHeader";
-import AppNavigation from "@/components/AppNavigation";
export default {
- name: "App",
- components: {
- AppHeader,
- AppNavigation
- }
+ name: "App"
};
</script>
-
-<style lang="scss" scoped>
-.page-container {
- margin-right: 0;
- margin-left: 0;
- padding-right: 0;
- padding-left: 0;
-}
-</style>