Updated componets syntax

This commit is contained in:
zackbcom 2021-01-05 12:48:10 -06:00
parent 09c930b2ef
commit 0d62fd01f7

View File

@ -37,6 +37,8 @@
</template> </template>
<script> <script>
import Confirmation from "./Confirmation";
export default { export default {
props: { props: {
open: { open: {
@ -44,9 +46,11 @@ export default {
default: true default: true
} }
}, },
components: { components: {
Confirmation: () => import("../UI/Confirmation") Confirmation
}, },
methods: { methods: {
editor() { editor() {
this.$emit("editor"); this.$emit("editor");