diff --git a/src/components/customers/ByjoveCustomerField.vue b/src/components/customers/ByjoveCustomerField.vue new file mode 100644 index 0000000..30252cb --- /dev/null +++ b/src/components/customers/ByjoveCustomerField.vue @@ -0,0 +1,154 @@ + + + diff --git a/src/components/customers/index.js b/src/components/customers/index.js new file mode 100644 index 0000000..8d0be21 --- /dev/null +++ b/src/components/customers/index.js @@ -0,0 +1,27 @@ +import ByjoveCustomerField from './ByjoveCustomerField.vue' + +// Declare install function executed by Vue.use() +export function install(Vue) { + if (install.installed) return; + install.installed = true; + Vue.component('ByjoveCustomerField', ByjoveCustomerField); +} + +// Create module definition for Vue.use() +const plugin = { + install, +}; + +// Auto-install when vue is found (eg. in browser via diff --git a/src/components/login/index.js b/src/components/login/index.js new file mode 100644 index 0000000..f0fc8c9 --- /dev/null +++ b/src/components/login/index.js @@ -0,0 +1,27 @@ +import ByjoveLogin from './ByjoveLogin.vue' + +// Declare install function executed by Vue.use() +export function install(Vue) { + if (install.installed) return; + install.installed = true; + Vue.component('ByjoveLogin', ByjoveLogin); +} + +// Create module definition for Vue.use() +const plugin = { + install, +}; + +// Auto-install when vue is found (eg. in browser via