beyonk-group / svelte-carousel

A super lightweight, super simple Carousel for Svelte 3
MIT License
213 stars 38 forks source link

Getting error while importing #7

Closed arjita-mitra closed 5 years ago

arjita-mitra commented 5 years ago

Module not found: Error: Can't resolve './Carousel.svelte' Module not found: Error: Can't resolve 'svelte-feather-icons'

I have followed the steps exactly how its described in "Usage" section.

npm install  @beyonk/svelte-carousel

<Carousel>
  <span class="control" slot="left-control">
    <ChevronLeftIcon />
  </span>
  <div class="slide-content">Slide 1</div>
  <div class="slide-content">Slide 2</div>
  <div class="slide-content">Slide 3</div>
  <div class="slide-content">Slide 4</div>
  <span class="control" slot="right-control">
    <ChevronRightIcon />
  </span>
</Carousel>

<script>
    import Carousel from './Carousel.svelte'
    import { ChevronLeftIcon, ChevronRightIcon } from 'svelte-feather-icons'
</script>