# Installation

# Compatibility Note

  • Vue.js 2.0.0+

# NPM

npm install performant-vue-tree

Then the underlying worker script has to be copied to the public path. To do so, run the following script

node node_modules/performant-vue-tree/dist/init-worker.js 

Then you can either register the component globally

// global plugin
import Vue from 'vue'
import performantVueTree from 'vue-performant-tree'

Vue.use(performantVueTree)

or import it separately where needed

<script>
import Vue from 'vue'
import performantVueTree from 'vue-performant-tree'

export default Vue.extend({
    components: { performantVueTree }
    ...
})
</script>