Update installation docs
This commit is contained in:
@@ -131,10 +131,11 @@ yarn add svelte-carousel
|
|||||||
npm install svelte-carousel
|
npm install svelte-carousel
|
||||||
```
|
```
|
||||||
|
|
||||||
Import css in App component
|
Import component and styles in App component
|
||||||
```jsx
|
```jsx
|
||||||
<script>
|
<script>
|
||||||
import 'svelte-carousel/dist/index.css'
|
import 'svelte-carousel/dist/index.css'
|
||||||
|
import Carousel from 'svelte-carousel'
|
||||||
// ...
|
// ...
|
||||||
</script>
|
</script>
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user