Skip to content

Commit

Permalink
#update readme.md and docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Wlada committed Feb 20, 2017
1 parent 597255f commit 3956642
Show file tree
Hide file tree
Showing 6 changed files with 38 additions and 18 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ This will make **<carousel-3d>** and **<slide>** available to all co

##### Usage (Local)

Include the carousel 3d directly into your component using import:
Include the Carousel 3d into your component using import:

``` js
import { Carousel3d, Slide } from 'vue-carousel-3d';
Expand All @@ -53,7 +53,7 @@ export default {

## HTML Structure

Once the **Carousel3d** and **Slide** components are installed globally or imported, they can be used in templates in the following manner:
Once the **Carousel3d** and **Slide** components are installed globally or imported, they can be used in templates like below:

``` html
<carousel-3d>
Expand All @@ -66,11 +66,11 @@ Once the **Carousel3d** and **Slide** components are installed globally or impor
</carousel-3d>
```

Keep in mind that **index** property on slide component is required property and you need to pass it for every slide
Keep in mind that **index** property on slide component is required property and you will need to pass it for every slide starting from 0

## Development

A sandboxed dev environment is provided by [vue-play](https://github.com/vue-play/vue-play). Changes made to the component files will appear in real time in the sandbox.
Dev environment is created by [vue-play](https://github.com/vue-play/vue-play). Changes made to the component files will appear in real time in the sandbox.

To begin development, run:

Expand All @@ -79,9 +79,9 @@ npm install
npm run dev
```

then navigate to `http://localhost:5000`
now open `http://localhost:5000` in your browser

To modify and add sandbox scenarios, edit `play/index.js`
You can modify and add scenarios in `play/index.js`

## License

Expand Down
6 changes: 3 additions & 3 deletions docs/_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
## Source: https://github.com/hexojs/hexo/

# Site
title: Vue Carousel 3d
subtitle:
description: 3D Carousel for Vue.js
title: Vue Carousel 3D
subtitle:
description: Beautiful flexible and touch-friendly 3D Carousel for Vue.js
author: Vladimir Bujanvoic
language:
timezone:
Expand Down
24 changes: 22 additions & 2 deletions docs/source/guide/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ This will make **&lt;carousel&gt;** and **&lt;slide&gt;** available to all compo

## Usage (Local)

Include the carousel 3d directly into your component using import:
Include the carousel 3d into your component using import:

``` js
import { Carousel3d, Slide } from 'vue-carousel-3d';
Expand All @@ -39,7 +39,7 @@ export default {

## HTML Structure

Once the **Carousel3d** and **Slide** components are installed globally or imported, they can be used in templates in the following manner:
Once the **Carousel3d** and **Slide** components are installed globally or imported, they can be used in templates like below:

``` html
<carousel-3d>
Expand All @@ -51,3 +51,23 @@ Once the **Carousel3d** and **Slide** components are installed globally or impor
</slide>
</carousel-3d>
```
Keep in mind that **index** property on slide component is required property and you will need to pass it for every slide starting from 0

## Development

Dev environment is created by [vue-play](https://github.com/vue-play/vue-play). Changes made to the component files will appear in real time in the sandbox.

To begin development, run:

``` bash
npm install
npm run dev
```

now open `http://localhost:5000` in your browser

You can modify and add scenarios in `play/index.js`

## License

This project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details.
2 changes: 1 addition & 1 deletion docs/themes/vue/_config.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
site_description: "Vue Carousel 3D - A flexible, touch-friendly 3D Carousel for Vue.js"
site_description: "Vue Carousel 3D - Beautiful, flexible and touch-friendly 3D Carousel for Vue.js"
vue_version: 2.1.7
6 changes: 2 additions & 4 deletions docs/themes/vue/layout/index.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -101,15 +101,13 @@

<div class="point">
<h2>Flexible</h2>
<p></p>
<p>Slides use Vue's built-in slot system, allowing you to display any type of content in slides (including
other Vue components!)</p>
<p>Inside slides you can display any html content or some other Vue component</p>
</div>

<div class="point">
<h2>Touch-friendly</h2>
<p></p>
<p>Touch and drag supported on both desktop and mobile devices.</p>
<p>Touch support enabled on mobile devices</p>
</div>
</div>
</div>
Expand Down
6 changes: 4 additions & 2 deletions docs/themes/vue/layout/layout.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title><%- page.title ? page.title + ' - ' : '' %>Vue Carousel</title>
<title><%- page.title ? page.title + ' - ' : '' %>3D Carousel for Vue.js</title>
<meta charset="utf-8">
<meta name="description" content="<%- theme.site_description %>">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
Expand All @@ -16,7 +16,9 @@
<meta name="twitter:title" content="<%- page.title ? page.title + ' - ' : '' %>Vue Carousel 3d">
<meta name="twitter:description" content="<%- theme.site_description %>">
<meta name="twitter:image" content="https://<%- theme.root_domain %>/images/logo.png">


<meta name="google-site-verification" content="j7k2Vin9D3fJKlxZqkcEQK-o4eH3yJbJHwi3u2-KHwQ" />

<link href='//fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600|Roboto Mono' rel='stylesheet' type='text/css'>
<link href='//fonts.googleapis.com/css?family=Dosis:500&text=Vue.js' rel='stylesheet' type='text/css'>

Expand Down

0 comments on commit 3956642

Please sign in to comment.