@@ -16,20 +16,30 @@ EnjoyHint require the following plugins and libs:
16
16
* KineticJS > v5.1.0
17
17
18
18
#### Installation
19
- You can install it through ` bower ` package manager :
19
+ You can install it through ` node ` or ` bower ` package managers :
20
20
```
21
- bower install enjoyhint
21
+ npm install xbs-enjoyhint
22
+ ```
23
+ ```
24
+ bower install xbs-enjoyhint
22
25
```
23
26
Alternative way:
24
- - Download the latest version of EnjoyHint
27
+ - Download the latest version of EnjoyHint from GitHub.
25
28
- Extract the archive with EnjoyHint.
26
- - Move the EnjoyHint directory to somewhere on your webserver
29
+ - Move the EnjoyHint directory to somewhere on your webserver.
30
+ - Install dependencies ` npm install ` or ` bower install ` if you want to use internal libraries.
27
31
- Insert next lines into your page's \< head\> tag:
28
32
``` html
29
- <!-- External libraries -->
33
+ <!-- From external libraries -->
30
34
<script src =" https://code.jquery.com/jquery-3.5.1.min.js" ></script >
31
35
<script src =" https://cdnjs.cloudflare.com/ajax/libs/kineticjs/5.2.0/kinetic.js" ></script >
32
36
<script src =" https://cdnjs.cloudflare.com/ajax/libs/jquery-scrollTo/2.1.2/jquery.scrollTo.min.js" ></script >
37
+
38
+ <!-- Or from internal libraries from node_modules-->
39
+ <script src =" <pathontheserver>/jquery/dist/jquery.min.js" ></script >
40
+ <script src =" <pathontheserver>/kinetic/kinetic.min.js" ></script >
41
+ <script src =" <pathontheserver>/jquery.scrollto/jquery.scrollTo.min.js" ></script >
42
+
33
43
<!-- Enjoyhint library -->
34
44
<link href =" <pathontheserver>/enjoyhint/enjoyhint.css" rel =" stylesheet" >
35
45
<script src =" <pathontheserver>/enjoyhint/enjoyhint.min.js" ></script >
0 commit comments