0.14.0 • Published 2 years ago
@totebox/history v0.14.0
@totebox/history
安装
npm i @totebox/history
使用
import History from '../src/index';
const history = new History();
history.direct('/a'); // return 1
history.direct('/b'); // return 2
history.direct('/a'); // return -1