mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 02:11:05 +00:00
chore: lift components folder
This commit is contained in:
parent
76df51674d
commit
2200b29b92
301 changed files with 57 additions and 76 deletions
|
@ -62,12 +62,10 @@ yarn start
|
||||||
|
|
||||||
#### Component Format
|
#### Component Format
|
||||||
|
|
||||||
Individual components are located in the `src/components` folder:
|
|
||||||
|
|
||||||
Each component should adopt the following structure:
|
Each component should adopt the following structure:
|
||||||
|
|
||||||
```js
|
```js
|
||||||
src/components/Component
|
src/Component
|
||||||
│
|
│
|
||||||
└───Component.svelte // main component
|
└───Component.svelte // main component
|
||||||
└───Component.Skeleton.svelte // Skeleton component (if any)
|
└───Component.Skeleton.svelte // Skeleton component (if any)
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
> Svelte implementation of the [Carbon Design System](https://github.com/carbon-design-system)
|
> Svelte implementation of the [Carbon Design System](https://github.com/carbon-design-system)
|
||||||
|
|
||||||
## [Storybook](https://ibm.github.io/carbon-components-svelte) · [CodeSandbox](https://codesandbox.io/s/carbon-components-svelte021-lhvc4)
|
## [Storybook](https://ibm.github.io/carbon-components-svelte)
|
||||||
|
|
||||||
## Getting Started
|
## Getting Started
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@ yarn add -D carbon-components-svelte
|
||||||
<svelte:head>
|
<svelte:head>
|
||||||
<link
|
<link
|
||||||
rel="stylesheet"
|
rel="stylesheet"
|
||||||
href="https://unpkg.com/carbon-components@10.9.0/css/carbon-components.min.css"
|
href="https://unpkg.com/carbon-components/css/carbon-components.min.css"
|
||||||
/>
|
/>
|
||||||
</svelte:head>
|
</svelte:head>
|
||||||
|
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue