mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-16 02:41:05 +00:00
docs: set-up sapper template
This commit is contained in:
parent
cd369f147a
commit
04b8978ec2
22 changed files with 5209 additions and 0 deletions
18
docs/src/routes/about.svelte
Normal file
18
docs/src/routes/about.svelte
Normal file
|
@ -0,0 +1,18 @@
|
|||
<script>
|
||||
import {
|
||||
Button,
|
||||
Header,
|
||||
HeaderNav,
|
||||
HeaderNavItem
|
||||
} from "carbon-components-svelte";
|
||||
import { theme } from "../store";
|
||||
</script>
|
||||
|
||||
<svelte:head>
|
||||
<title>About</title>
|
||||
</svelte:head>
|
||||
<h1>About this site</h1>
|
||||
{$theme}
|
||||
<Button>Hello world</Button>
|
||||
|
||||
<p>This is the 'about' page. There's not much here.</p>
|
Loading…
Add table
Add a link
Reference in a new issue