vue-elder-stepper
Version:
Stepper component for vue
25 lines (19 loc) • 458 B
JavaScript
import StepperComponent from './src/component.vue'
const Options = {
icons: {
breadcrumb: ['fas', 'angle-right'],
},
}
const install = (Vue) => {
Vue.component('stepper-component', StepperComponent)
}
const setup = (options) => {
for (let key in options) {
if (!(key in Options)) return
Options[key] = options[key]
}
}
export default {
install,
}
export { StepperComponent, install as StepperComponentInstaller, setup, Options }