generated from unplugin/unplugin-starter
-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: gracefully handle stories named the same as standard javascript …
…keywords (#41) * fix: gracefully handle stories named the same as standard javascript keywords * fix indexer * capitalize id instead of adding a prefix
- Loading branch information
1 parent
0d584f8
commit 83abd96
Showing
3 changed files
with
68 additions
and
50 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<script lang="ts" setup> | ||
import MyButton from '../components/Button.vue' | ||
</script> | ||
|
||
<template> | ||
<Stories | ||
:component="MyButton" | ||
title="Tests/Default Name" | ||
> | ||
<Story title="Default"> | ||
<MyButton label="Button" /> | ||
</Story> | ||
</Stories> | ||
</template> |
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