diff options
author | Yoshie Muranaka <yoshiemuranaka@gmail.com> | 2020-11-12 02:00:15 +0300 |
---|---|---|
committer | Derick Montague <derick.montague@ibm.com> | 2020-11-16 20:13:13 +0300 |
commit | d35132d82d68acbbf83d95add7290f769d3b2436 (patch) | |
tree | b2dbdaca3de10c0ab7b58b2d2dd5ea21f0a3d6df /docs/.vuepress/components/BmcToasts.vue | |
parent | ff8c5cd23feb42dc90424e44af6275efb12c600d (diff) | |
download | webui-vue-d35132d82d68acbbf83d95add7290f769d3b2436.tar.xz |
Update VuePress configuration
We are moving away from importing application components directly into
the VuePress docs. We will document code snippets and add screenshots
as a visual example.
This commit removes all code and configurations that supported importing
dynamic components into VuePress and added images in place of a working
component example on the page.
Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com>
Change-Id: I9a75c5d51de8b6d941e4df7ae977d78c043d36e1
Diffstat (limited to 'docs/.vuepress/components/BmcToasts.vue')
-rw-r--r-- | docs/.vuepress/components/BmcToasts.vue | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/docs/.vuepress/components/BmcToasts.vue b/docs/.vuepress/components/BmcToasts.vue deleted file mode 100644 index 6f90d1f1..00000000 --- a/docs/.vuepress/components/BmcToasts.vue +++ /dev/null @@ -1,36 +0,0 @@ -<template> - <div> - <b-button variant="success" @click="makeSuccessToast()">Show Success</b-button> - <b-button variant="danger" @click="makeErrorToast()">Show Error</b-button> - <b-button variant="warning" @click="makeWarningToast()">Show Warning</b-button> - <b-button variant="info" @click="makeInfoToast()">Show Info</b-button> - </div> -</template> - -<script> -import BVToastMixin from './app-imports/BVToastMixin'; -export default { - name: 'BmcToasts', - mixins: [BVToastMixin], - methods: { - makeSuccessToast() { - this.successToast('This is a success toast and will be dismissed after 10 seconds.'); - }, - makeErrorToast() { - this.errorToast('This is an error toast and must be dismissed by the user.'); - }, - makeWarningToast() { - this.warningToast('This is a warning toast and must be dismissed by the user.'); - }, - makeInfoToast() { - this.infoToast('This is an info toast and must be dismissed by the user.'); - }, - } -} -</script> -<style scoped> - button { - margin-right: .5rem; - margin-bottom: 1rem; - } -</style>
\ No newline at end of file |