Created
April 1, 2021 18:15
-
-
Save mostafa6765/efdc8b714ddb48e574c399de2c57978e to your computer and use it in GitHub Desktop.
develop vuejs plugin - vuejs plugin boilerplate
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const MyVuePlugin = { | |
install(Vue, options){ | |
//all process | |
} | |
} | |
if (typeof window !== 'undefined' && window.Vue) { | |
window.Vue.use(MyVuePlugin); | |
} | |
export default MyVuePlugin; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment