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