beyonk-group/svelte-carousel

Getting error while importing

arjita-mitra opened this issue · 0 comments

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>