mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-14 18:01:06 +00:00
docs(readme): use css from CDN in basic example [ci skip]
This commit is contained in:
parent
b00d054b91
commit
a1b133ec1a
1 changed files with 6 additions and 1 deletions
|
@ -24,8 +24,13 @@ yarn add -D 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" />
|
||||
</svelte:head>
|
||||
|
||||
<Button>Primary</Button>
|
||||
<Button kind="secondary">Secondary</Button>
|
||||
```
|
||||
|
||||
Try it in the [Svelte REPL](https://svelte.dev/repl/201b02d3a92440f99de9129e83a67871?version=3.16.7).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue