# Installation
First add the package to your project by adding it via yarn or npm:
Install it with Yarn:
yarn add undo-redo-vuex
or with NPM:
npm i undo-redo-vuex
# Import as Module
Simply import the module in your project:
import undoRedo from "undo-redo-vuex";
# Use in Browser
Or you can also load the plugin in the browser by using the following snippet:
<script
type="text/javascript"
src="node_modules/undo-redo-vuex/dist/undo-redo-vuex.min.js"
></script>
Usage →