Installation Using npm $ npm i xxq-loading -S How to use import loading from 'xxq-loading' Vue.use(loading) this.$Loading.show() // 展示 this.$Loading.hide() // 隐藏