File tree Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,18 @@ dataFetcher.js is a small library to swap the content of an element with the res
4
4
5
5
## Adding dataFetcher.js to your project
6
6
7
+ ### From cdn.jsdelivr.net
8
+ - Add the script to your footer.
9
+ ``` html
10
+ <
script src =
" https://cdn.jsdelivr.net/npm/[email protected] /dist/data-fetcher.min.js" ></
script >
11
+ ```
12
+
13
+ ### Precompiled js file
14
+ - Clone or download the library.
15
+ - Add ` /dist/data-fetcher.min.js ` to your project.
16
+
7
17
### Building from the source
18
+ - Clone or download the library.
8
19
- Run ` npm install ` & ( ` npm run dev ` or ` npm run prod ` )
9
20
- Add ` /dist/data-fetcher.min.js ` to your project.
10
21
Original file line number Diff line number Diff line change 1
1
{
2
- "name" : " dataFetcher .js" ,
2
+ "name" : " datafetcher .js" ,
3
3
"description" : " dataFetcher.js is a small library to swap the content of an element with the response from an ajax response." ,
4
4
"version" : " 1.0.0" ,
5
5
"license" : " MIT" ,
You can’t perform that action at this time.
0 commit comments