1 | # vue-train-timetable
|
2 |
|
3 | [![NPM version](https://img.shields.io/npm/v/vue-train-timetable.svg?style=flat)](https://npmjs.com/package/vue-train-timetable) [![NPM downloads](https://img.shields.io/npm/dm/vue-train-timetable.svg?style=flat)](https://npmjs.com/package/vue-train-timetable) [![CircleCI](https://circleci.com/gh/Madao-3/vue-train-timetable/tree/master.svg?style=shield)](https://circleci.com/gh/Madao-3/vue-train-timetable/tree/master)
|
4 |
|
5 | Vue Train Timetable Component
|
6 |
|
7 | ## Install
|
8 |
|
9 | ```bash
|
10 | yarn add vue-train-timetable
|
11 | ```
|
12 |
|
13 | CDN: [UNPKG](https://unpkg.com/vue-train-timetable/) | [jsDelivr](https://cdn.jsdelivr.net/npm/vue-train-timetable/) (available as `window.VueTrainTimetable`)
|
14 |
|
15 | ## Example
|
16 |
|
17 | [Demo](https://madao-3.github.io/vue-train-timetable/example/dist/index.html)
|
18 |
|
19 | ## Usage
|
20 |
|
21 | ```vue
|
22 | <template>
|
23 | <vue-train-timetable></vue-train-timetable>
|
24 | </template>
|
25 |
|
26 | <script>
|
27 | import VueTrainTimetable from "vue-train-timetable";
|
28 |
|
29 | export default {
|
30 | components: {
|
31 | VueTrainTimetable
|
32 | }
|
33 | };
|
34 | </script>
|
35 | ```
|
36 |
|
37 | ## Development
|
38 |
|
39 | ```
|
40 | # To run demo:
|
41 |
|
42 | yarn run example
|
43 |
|
44 | # To build the component:
|
45 |
|
46 | yarn run build
|
47 | ```
|
48 |
|
49 | ## License
|
50 |
|
51 | MIT © [Madao](https://github.com/Madao-3)
|