mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-16 19:01:05 +00:00
chore: pin dependencies
This commit is contained in:
parent
8e66e762f0
commit
e6093aa4e4
5 changed files with 2001 additions and 2129 deletions
|
@ -19,16 +19,17 @@ yarn add -D carbon-components-svelte
|
|||
|
||||
```html
|
||||
<script>
|
||||
import { Button } from 'carbon-components-svelte';
|
||||
import { Button } from "carbon-components-svelte";
|
||||
</script>
|
||||
|
||||
<svelte:head>
|
||||
<link
|
||||
rel="stylesheet"
|
||||
href="https://unpkg.com/carbon-components@10.9.0/css/carbon-components.min.css" />
|
||||
href="https://unpkg.com/carbon-components@10.9.0/css/carbon-components.min.css"
|
||||
/>
|
||||
</svelte:head>
|
||||
|
||||
<Button>Primary</Button>
|
||||
<button>Primary</button>
|
||||
```
|
||||
|
||||
Try it in the [CodeSandbox](https://codesandbox.io/s/carbon-components-svelte021-lhvc4).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue