Skip to content

Commit f9fce4b

Browse files
committed
fixed how to use
1 parent d20b433 commit f9fce4b

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

README.md

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,11 @@
33
> Better introductions for websites and features with a step-by-step guide for your projects.
44
55
## How to use
6-
Intro.js can be added to your site in three simple steps:
6+
This fork is written in commonJS. In order to use, install with jspm or any other package manager which supports commonJS modules.
77

8-
**1)** Include `intro.js` and `introjs.css` (or the minified version for production) in your page. Use `introjs-rtl.min.css` for Right-to-Left language support.
8+
`jspm i github:capaj/intro.js`
99

10-
> CDN hosted files are available at [jsDelivr](http://www.jsdelivr.com/#!intro.js) (click Show More) & [cdnjs](http://cdnjs.com/#introjs).
11-
12-
**2)** Add `data-intro` and `data-step` to your HTML elements.
13-
14-
For example:
10+
Then in HTML:
1511

1612
```html
1713
<a href='http://google.com/' data-intro='Hello step one!'></a>

0 commit comments

Comments
 (0)