update readme
This commit is contained in:
parent
b32ac7d318
commit
b92de74543
27
README.md
27
README.md
@ -1,7 +1,7 @@
|
|||||||
# Frappé Gantt
|
# Frappé Gantt
|
||||||
A simple, interactive, modern gantt chart library for the web
|
A simple, interactive, modern gantt chart library for the web
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
####View the demo [here](https://frappe.github.io/gantt).
|
####View the demo [here](https://frappe.github.io/gantt).
|
||||||
|
|
||||||
@ -13,21 +13,23 @@ npm install frappe-gantt
|
|||||||
###Usage
|
###Usage
|
||||||
Include it in your html:
|
Include it in your html:
|
||||||
```
|
```
|
||||||
<script src="frappe-gantt.js"></script>
|
<script src="frappe-gantt.min.js"></script>
|
||||||
```
|
```
|
||||||
|
|
||||||
And start hacking:
|
And start hacking:
|
||||||
```
|
```
|
||||||
var gantt = new Gantt(
|
var tasks = [
|
||||||
"#gantt",
|
{
|
||||||
[
|
id: 'Task 1',
|
||||||
{
|
name: 'Redesign website',
|
||||||
start: "2016-10-04", end: "2016-10-10",
|
start: '2016-12-28',
|
||||||
id: 0, name: "Explore ERPNext"
|
end: '2016-12-31',
|
||||||
},
|
progress: 20,
|
||||||
...
|
dependencies: 'Task 2, Task 3'
|
||||||
]
|
},
|
||||||
});
|
...
|
||||||
|
]
|
||||||
|
var gantt = new Gantt("#gantt", tasks);
|
||||||
```
|
```
|
||||||
|
|
||||||
If you want to contribute:
|
If you want to contribute:
|
||||||
@ -37,6 +39,7 @@ If you want to contribute:
|
|||||||
3. `npm install`
|
3. `npm install`
|
||||||
4. `npm run dev`
|
4. `npm run dev`
|
||||||
|
|
||||||
|
License: MIT
|
||||||
|
|
||||||
------------------
|
------------------
|
||||||
Project maintained by [frappe](https://github.com/frappe)
|
Project maintained by [frappe](https://github.com/frappe)
|
||||||
Loading…
x
Reference in New Issue
Block a user