summaryrefslogtreecommitdiff
path: root/docs/.vuepress/components
diff options
context:
space:
mode:
authorDerick Montague <derick.montague@ibm.com>2020-03-03 15:11:48 +0300
committerDerick Montague <derick.montague@ibm.com>2020-03-12 20:59:42 +0300
commit71650fff20c0ad29eb05d770736386863324b64e (patch)
tree2c3a71a9c71ab7c70f2d1ed0e5e7a437144e339f /docs/.vuepress/components
parent36016e45acae516045cbb74be40e74881a5fc95f (diff)
downloadwebui-vue-71650fff20c0ad29eb05d770736386863324b64e.tar.xz
Add alert message component and documentation
- Add custom alert component to simplify the use of custom alerts - Add documentation for using the custom alert - Update the login error alert to use the alert component instead of the Bootstrap-vue component. - Add the enhanceApp and bmcAppPlugin to extend vuepress to use both the BMC custom and Boostrap-Vue components along with the custom styles Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: I5c0b696ca47ddba0df18041d6c5ee7509bf23572
Diffstat (limited to 'docs/.vuepress/components')
-rw-r--r--docs/.vuepress/components/BmcAlerts.vue15
1 files changed, 15 insertions, 0 deletions
diff --git a/docs/.vuepress/components/BmcAlerts.vue b/docs/.vuepress/components/BmcAlerts.vue
new file mode 100644
index 00000000..a0c95034
--- /dev/null
+++ b/docs/.vuepress/components/BmcAlerts.vue
@@ -0,0 +1,15 @@
+<template>
+ <div>
+ <alert show variant="warning">This is a warning message</alert>
+ <alert show variant="danger">This is an error message</alert>
+ <alert show variant="info">This is an info message</alert>
+ </div>
+</template>
+
+<script>
+
+export default {
+ name: 'BmcAlerts',
+
+}
+</script> \ No newline at end of file