Skip to main content
Version: Next

Installation

You can easily install Flicking with package managers like npm or yarn

npm

npm install @egjs/flicking

yarn

yarn add @egjs/flicking

Unlike individual or internal cases, CDN has unpredictable problems with services, so it is better to use your own files.

packaged(with dependencies)

<!-- unpkg -->
<script src="https://unpkg.com/@egjs/flicking/dist/flicking.pkgd.min.js" crossorigin="anonymous"></script>
<!-- cdnjs -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/egjs-flicking/4.x.x/flicking.pkgd.min.js" crossorigin="anonymous"></script>

CSS files

Choose flicking-inline.css if you have to support IE9

<!-- unpkg -->
<link rel="stylesheet" href="https://unpkg.com/@egjs/flicking/dist/flicking.css" crossorigin="anonymous" />
<link rel="stylesheet" href="https://unpkg.com/@egjs/flicking/dist/flicking-inline.css" crossorigin="anonymous" />
<!-- cdnjs -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/egjs-flicking/4.x.x/flicking.css" crossorigin="anonymous" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/egjs-flicking/4.x.x/flicking-inline.css" crossorigin="anonymous" />