mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-18 11:36:36 +00:00
feat(app): use pre-built stylesheet
This commit is contained in:
parent
58160fccfe
commit
d340ed6695
3 changed files with 4 additions and 6 deletions
|
@ -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>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<script>
|
||||
// import "../../css/"
|
||||
import "../../css/all.css";
|
||||
</script>
|
||||
|
||||
<slot />
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
<script>
|
||||
import { Button } from "../../src";
|
||||
|
||||
let count = 0;
|
||||
</script>
|
||||
|
||||
<Button>Hello</Button>
|
||||
<Button on:click="{() => count++}">Click me: {count}</Button>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue