-
Notifications
You must be signed in to change notification settings - Fork 341
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: rename "Decode All" demo to "Handle Errors"
The demo already is focused on error handling because it renders the error message instead of just printing them to the console, which is particularly useful on mobile devices. Renaming the demo emphasizes that and hints user to use this demo for debugging.
- Loading branch information
Showing
7 changed files
with
26 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
# Decode Continuously | ||
# Handle Errors | ||
|
||
Hold a QR code in the camera and see what happens. Note, you can't scan the same | ||
QR code multiple time in a row. | ||
|
||
<ClientOnly> | ||
<DemoWrapper :component="DecodeAll" /> | ||
<DemoWrapper :component="HandleErrors" /> | ||
</ClientOnly> | ||
|
||
<script setup lang="ts"> | ||
import DemoWrapper from '@/components/DemoWrapper.vue' | ||
import DecodeAll from '@/components/demos/DecodeAll.vue' | ||
import HandleErrors from '@/components/demos/HandleErrors.vue' | ||
</script> | ||
|
||
### Source | ||
|
||
<<< @/.vitepress/components/demos/DecodeAll.vue | ||
<<< @/.vitepress/components/demos/HandleErrors.vue |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters