From 71650fff20c0ad29eb05d770736386863324b64e Mon Sep 17 00:00:00 2001 From: Derick Montague Date: Tue, 3 Mar 2020 06:11:48 -0600 Subject: 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 Change-Id: I5c0b696ca47ddba0df18041d6c5ee7509bf23572 --- docs/.vuepress/enhanceApp.js | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 docs/.vuepress/enhanceApp.js (limited to 'docs/.vuepress/enhanceApp.js') diff --git a/docs/.vuepress/enhanceApp.js b/docs/.vuepress/enhanceApp.js new file mode 100644 index 00000000..5a84f619 --- /dev/null +++ b/docs/.vuepress/enhanceApp.js @@ -0,0 +1,10 @@ +import { + AlertPlugin, + } from 'bootstrap-vue'; + +import BmcAppPlugin from './bmcAppPlugin'; + +export default ({ Vue }) => { + Vue.use(AlertPlugin); + Vue.use(BmcAppPlugin); +} \ No newline at end of file -- cgit v1.2.3