From d6f7c907882859c46e7232922fc69de362928543 Mon Sep 17 00:00:00 2001 From: Marko Zunic Date: Thu, 4 Jun 2020 12:40:00 +0200 Subject: [PATCH] Updated README --- README.md | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 74319b2..422e695 100644 --- a/README.md +++ b/README.md @@ -7,13 +7,15 @@ A simple and easy-to-use Gantt chart component for Vue.js [Homepage of the project](https://infectoone.github.io/vue-ganttastic-homepage/#/docs) ## Installation -If you use npm in your project, you can install vue-ganttastic simply with: +You can install and use Vue-Ganttastic in your project using npm: ``` npm install vue-ganttastic ``` -If you do not use npm in your project, you may alternatively copy and paste all files from the -components folder and -and import the components GGanttChart and GGanttRow wherever you need them + +[Moment.js](https://momentjs.com/) is a peer-dependency of Vue-Ganttastic. In order for Vue-Ganttastic to work correctly, you need to install it in your project: +``` +npm install moment +``` ## Basic Usage Import the components GGanttChart and GGanttRow. @@ -47,7 +49,7 @@ The following code showcases a simple usage example in a .vue SFC (Single File C