feat(app): use pre-built stylesheet

This commit is contained in:
metonym 2021-09-01 13:11:25 -07:00
commit d340ed6695
3 changed files with 4 additions and 6 deletions

View file

@ -3,10 +3,6 @@
<head> <head>
<meta charset="utf-8" /> <meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="viewport" content="width=device-width, initial-scale=1" />
<link
rel="stylesheet"
href="https://unpkg.com/carbon-components-svelte/css/all.css"
/>
%svelte.head% %svelte.head%
</head> </head>
<body> <body>

View file

@ -1,5 +1,5 @@
<script> <script>
// import "../../css/" import "../../css/all.css";
</script> </script>
<slot /> <slot />

View file

@ -1,5 +1,7 @@
<script> <script>
import { Button } from "../../src"; import { Button } from "../../src";
let count = 0;
</script> </script>
<Button>Hello</Button> <Button on:click="{() => count++}">Click me: {count}</Button>