Javascript – How can I render components dynamically with Vue 3?
I have a process which have many steps. Each one is implemented in a different component. Initially I had this code: <template> <template v-if="process.currentStep === 0"> <Step0 /> </template> <template v-else-if="process.currentStep === 1"> <Step1 /> </template> <template v-else-if="process.currentStep === 2">…