github https://github.com/kamranahmedse/driver.js
yarn add driver.jsnpm install driver.js
使用
import Driver from 'driver.js';import 'driver.js/dist/driver.min.css';// demo1const driver = new Driver();driver.highlight('#create-post')// demo2const driver = new Driver();driver.highlight({element: '#some-element',popover: {title: 'Title for the Popover',description: 'Description for it',}});
