# Import Third-party Modules In addition to the element-ui components and the business components built into the scaffolding, sometimes we also need to import other external components. Here to import [vue-count-to](https://github.com/adempiere/vue-countTo) as an example to introduce. ## Install dependence Enter the following command in the terminal to complete the installation: ```bash $ npm install vue-count-to --save ``` > add `--save` will automatically add dependencies to package.json.
## Usage ### Global Registration **main.js** ```js import countTo from 'vue-count-to' Vue.component('countTo', countTo) ``` ```html ``` ### Local Registration ```html ``` ![](https://adempiere-vue.gitee.io/gitee-cdn/adempiere-vue-site/8b95fac0-6691-4ad6-ba6c-e5d84527da06.gif)
## Use Any Javascript Library With Vue.js [Use Any Javascript Library With Vue.js](https://vuejsdevelopers.com/2017/04/22/vue-js-libraries-plugins/)