未验证 提交 733c99e3 编写于 作者: K Kamran Ahmed 提交者: GitHub

Update usage instructions

上级 99c43b47
......@@ -61,6 +61,14 @@ Or grab the code from `dist` directory and include it directly.
## Usage and Demo
If you are using some sort of module bundler, import the library and the CSS file
```javascript
import Driver from 'driver.js';
import 'driver.js/dist/driver.min.css';
```
otherwise use the `script` and `link` tags to import the JavaScript and CSS files.
Demos and many more usage examples can be found [in the docs page](http://kamranahmed.info/driver.js).
### Highlighting Single Element – [Demo](http://kamranahmed.info/driver.js#single-element-no-popover)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册