Installation
Using the package managers (recommended)
You can easily install Flicking with package managers like npm or yarn
npm
- JavaScript
- React
- Vue@2
- Vue@3
- Angular
- Preact
- Svelte
npm install @egjs/flicking
npm install @egjs/react-flicking
npm install @egjs/vue-flicking
npm install @egjs/vue3-flicking
npm install @egjs/ngx-flicking
npm install @egjs/preact-flicking
npm install @egjs/svelte-flicking
yarn
- JavaScript
- React
- Vue@2
- Vue@3
- Angular
- Preact
- Svelte
yarn add @egjs/flicking
yarn add @egjs/react-flicking
yarn add @egjs/vue-flicking
yarn add @egjs/vue3-flicking
yarn add @egjs/ngx-flicking
yarn add @egjs/preact-flicking
yarn add @egjs/svelte-flicking
CDN Links
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" />