From d35132d82d68acbbf83d95add7290f769d3b2436 Mon Sep 17 00:00:00 2001 From: Yoshie Muranaka Date: Wed, 11 Nov 2020 15:00:15 -0800 Subject: 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 Change-Id: I9a75c5d51de8b6d941e4df7ae977d78c043d36e1 --- docs/guide/components/alert.md | 4 +--- docs/guide/components/button.md | 9 ++++++++- docs/guide/components/table.md | 32 ++++---------------------------- docs/guide/components/toast.md | 2 +- 4 files changed, 14 insertions(+), 33 deletions(-) (limited to 'docs/guide') diff --git a/docs/guide/components/alert.md b/docs/guide/components/alert.md index 1ad965bda..1892f3f85 100644 --- a/docs/guide/components/alert.md +++ b/docs/guide/components/alert.md @@ -3,9 +3,7 @@ An alert is an inline message that contains a short description that a user cann [Learn more about Bootstrap-vue alert options](https://bootstrap-vue.js.org/docs/components/alert) -This is a warning message -This is an error message -This is an info message +![Alert examples](/alert.png) ```vue This is a warning message diff --git a/docs/guide/components/button.md b/docs/guide/components/button.md index 6916d4380..3e61b7978 100644 --- a/docs/guide/components/button.md +++ b/docs/guide/components/button.md @@ -4,7 +4,14 @@ Buttons are used to perform an action. The main buttons in the application are t [Learn more about Bootstrap-vue buttons](https://bootstrap-vue.js.org/docs/components/button) - +### Enabled buttons + +![Button examples](/button.png) + +### Disabled buttons + +![Disabled button examples](/button-disabled.png) + ```vue // Enabled Buttons diff --git a/docs/guide/components/table.md b/docs/guide/components/table.md index ddb1413f8..af464e46f 100644 --- a/docs/guide/components/table.md +++ b/docs/guide/components/table.md @@ -17,29 +17,8 @@ There are a few required properties to maintain consistency across the applicati - `show-empty` *(required if table data is generated dynamically)* - shows an empty message if there are no items in the table - `empty-text` *(required if table data is generated dynamically)* - the translated empty message -
- - - - - -
+![Basic table example](/table.png) +![Basic empty table example](/table-empty.png) ```vue