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>
<meta charset="utf-8" />
<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%
</head>
<body>

View file

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

View file

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