summaryrefslogtreecommitdiff
path: root/src/main.js
diff options
context:
space:
mode:
authorYoshie Muranaka <yoshiemuranaka@gmail.com>2020-01-18 00:38:57 +0300
committerGunnar Mills <gmills@us.ibm.com>2020-01-21 21:32:43 +0300
commit35080acbbf29de7cfd21d19f3c3637d7231f2a7e (patch)
treeb9bded80d364f50d120700dbf5c862c322242e7c /src/main.js
parenta2988f40b965fdcf2941ff6e62c5bac5cf0e6988 (diff)
downloadwebui-vue-35080acbbf29de7cfd21d19f3c3637d7231f2a7e.tar.xz
Add local user page
- Add Bootstrap out of box table component - Import layout plugin - Add user role privilege table - Add local user modals - Add inline table actions - Add local user store - Add Axios requests Initial setup to use Vuex store for local user management page. For now using a timeout to fake fetching async data. Data flow is working between store and component. Using Axios in very unrefined way, just to get some API requests going. Simple user request working if base, username, password variables defined. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: I3b0d757857268feff32c6bec1c3fd95c302a568f
Diffstat (limited to 'src/main.js')
-rw-r--r--src/main.js8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/main.js b/src/main.js
index 16687c5c..742b991e 100644
--- a/src/main.js
+++ b/src/main.js
@@ -8,7 +8,10 @@ import {
NavPlugin,
CollapsePlugin,
LinkPlugin,
- NavbarPlugin
+ NavbarPlugin,
+ TablePlugin,
+ LayoutPlugin,
+ ModalPlugin
} from "bootstrap-vue";
Vue.use(ButtonPlugin);
@@ -16,6 +19,9 @@ Vue.use(NavPlugin);
Vue.use(CollapsePlugin);
Vue.use(LinkPlugin);
Vue.use(NavbarPlugin);
+Vue.use(TablePlugin);
+Vue.use(LayoutPlugin);
+Vue.use(ModalPlugin);
Vue.prototype.$http = Axios;