How does vue-cli, reuse custom components?

how do I replace the confirmation logout content with something else and display the new content when I click another button?

Mar.21,2021

make the pop-up box a public component. The text inside can be transferred by the parent component. In this way,


dynamic component < component: is= "type" / >

can be realized.
Menu