-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Matthew Holloway
authored and
Matthew Holloway
committed
Oct 1, 2024
1 parent
85cb18f
commit c26dbfc
Showing
7 changed files
with
2,631 additions
and
77 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,2 @@ | ||
current | ||
difference |
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,28 @@ | ||
<template> | ||
<Story | ||
title="Card" | ||
:layout="{ | ||
type: 'grid', | ||
width: 200 | ||
}" | ||
> | ||
<Variant title="Regular card" :init-state="initState"> | ||
<Card href="/sdf" heading-level="3" has-cover-link> | ||
<template #headingTitle>What is an RFC?</template> | ||
<p class="text-base mt-2 text-blue-900 dark:text-white"> | ||
Short description of the page here if it seems useful to show | ||
</p> | ||
</Card> | ||
</Variant> | ||
</Story> | ||
</template> | ||
|
||
<script lang="ts" setup> | ||
import Card from './Card.vue' | ||
function initState() { | ||
return { | ||
disabled: false | ||
} | ||
} | ||
</script> |
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,7 @@ | ||
import { defineConfig } from 'histoire' | ||
import { HstVue } from '@histoire/plugin-vue' | ||
import { HstNuxt } from '@histoire/plugin-nuxt' | ||
|
||
export default defineConfig({ | ||
plugins: [HstVue(), HstNuxt()] | ||
}) |
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,9 @@ | ||
import type { CustomProjectConfig } from 'lost-pixel' | ||
|
||
export const config: CustomProjectConfig = { | ||
histoireShots: { | ||
histoireUrl: './.histoire/dist' | ||
}, | ||
generateOnly: true, | ||
failOnDifference: true | ||
} |
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
Oops, something went wrong.