File tree Expand file tree Collapse file tree 3 files changed +10
-8
lines changed
Expand file tree Collapse file tree 3 files changed +10
-8
lines changed Original file line number Diff line number Diff line change 22> Vue Concise Carousel is SSR and CSR friendly.
33> An upgraded version from [ vue-carousel] ( https://github.com/SSENSE/vue-carousel )
44
5- ** [ Full examples] ( https://jambonn.github.io/vue-concise-carousel/#example ) **
5+ ** [ Full examples] ( https://jambonn.github.io/vue-concise-carousel/#example-full ) **
66
77## Table of Contents
88- [ Installation] ( #installation )
1616## Installation
1717
1818``` bash
19- npm install vue-concise-carousel
19+ npm install @jambonn/ vue-concise-carousel
2020```
2121
2222or if you prefer yarn
2323
2424``` bash
25- yarn add vue-concise-carousel
25+ yarn add @jambonn/ vue-concise-carousel
2626```
2727
2828## Usage
@@ -33,7 +33,8 @@ You may install Vue Concise Carousel globally:
3333
3434``` js
3535import Vue from ' vue' ;
36- import VueConciseCarousel from ' vue-concise-carousel' ;
36+ import VueConciseCarousel from ' @jambonn/vue-concise-carousel' ;
37+ import ' @jambonn/vue-concise-carousel/dist/vue-slick-carousel.css'
3738
3839Vue .use (VueConciseCarousel);
3940```
@@ -44,7 +45,8 @@ This will make **<carousel>** and **<slide>** available to all compo
4445Include the carousel directly into your component using import:
4546
4647``` js
47- import { Carousel , Slide } from ' vue-concise-carousel' ;
48+ import { Carousel , Slide } from ' @jambonn/vue-concise-carousel' ;
49+ import ' @jambonn/vue-concise-carousel/dist/vue-slick-carousel.css'
4850
4951export default {
5052 ...
Original file line number Diff line number Diff line change 6969<span class =" token tag" ><span class =" token tag" ><span class =" token punctuation" >< ; /</span >template</span ><span class =" token punctuation" >> ; </span ></span >
7070
7171<span class =" token tag" ><span class =" token tag" ><span class =" token punctuation" >< ; </span >script</span ><span class =" token punctuation" >> ; </span ></span ><span class =" token script" ><span class =" token language-javascript" >
72- <span class =" token keyword" >import</span > { Carousel, Slide } <span class =" token keyword" >from</span > <span class =" token string" >'vue-concise-carousel'</span >
73- <span class =" token keyword" >import</span > <span class =" token string" >'vue-concise-carousel/dist/vue-concise-carousel.css'</span >
72+ <span class =" token keyword" >import</span > { Carousel, Slide } <span class =" token keyword" >from</span > <span class =" token string" >'@jambonn/ vue-concise-carousel'</span >
73+ <span class =" token keyword" >import</span > <span class =" token string" >'@jambonn/ vue-concise-carousel/dist/vue-concise-carousel.css'</span >
7474
7575 <span class =" token keyword" >export</span > <span class =" token keyword" >default</span > <span class =" token punctuation" >{</span >
7676 name<span class =" token punctuation" >:</span > <span class =" token string" >'ConciseCarouselComponent'</span ><span class =" token punctuation" >,</span >
Original file line number Diff line number Diff line change 11{
22 "name" : " @jambonn/vue-concise-carousel" ,
3- "version" : " 0.1.0 " ,
3+ "version" : " 0.1.1 " ,
44 "description" : " Vue Concise Carousel is SSR and CSR friendly" ,
55 "keywords" : [
66 " vue" ,
You can’t perform that action at this time.
0 commit comments