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
<script> | |
import { VStepper } from 'vuetify/lib'; | |
// stepper step types by component name, so the VStepperIcon | |
// is able to display different types of stepper steps | |
const STEPPER_STEP_COMPONENTS = ['v-stepper-step', 'v-stepper-step-icon'] | |
// comparing name to possible stepper step component names | |
const isStepperStepComponent = (componentList) => { | |
return (name) => componentList.includes(name) | |
} | |
// function to check if a string is in the allowed componentList |
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
import Vue from 'vue'; | |
import Vuetify from 'vuetify/lib/framework'; | |
import VStepperIcon from '@/components/VStepperIcon.vue' | |
import VStepperStepIcon from '@/components/VStepperStepIcon.vue' | |
Vue.use(Vuetify, { | |
components: { | |
VStepperIcon, | |
VStepperStepIcon, | |
}, |
OlderNewer