add input item to UI index
This commit is contained in:
parent
7773bedff5
commit
0a3bf4ca42
3 changed files with 125 additions and 137 deletions
|
|
@ -1,25 +1,18 @@
|
|||
<template>
|
||||
<!-- <UIindex />
|
||||
<Microphone /> -->
|
||||
<InputItem />
|
||||
|
||||
<UIindex />
|
||||
</template>
|
||||
|
||||
<script lang="ts">
|
||||
import { defineComponent, inject } from 'vue';
|
||||
// import UIindex from "@/components/UI/index.vue";
|
||||
// import Microphone from "@/components/microphone/index.vue";
|
||||
import InputItem from "@/components/UI/UIDetails/inputItem.vue";
|
||||
|
||||
export default defineComponent({
|
||||
name: "HomeIndex",
|
||||
components: { InputItem },
|
||||
setup() {
|
||||
const emitter: any = inject("mitt");
|
||||
emitter.on('newSelfMessage', (payload: any) => console.log('foo', payload) )
|
||||
}
|
||||
});
|
||||
import { defineComponent, inject } from 'vue';
|
||||
import UIindex from "@/components/UI/index.vue";
|
||||
// import Microphone from "@/components/microphone/index.vue";
|
||||
|
||||
export default defineComponent({
|
||||
name: "HomeIndex",
|
||||
components: { UIindex },
|
||||
setup() {
|
||||
const emitter: any = inject("mitt");
|
||||
emitter.on('newSelfMessage', (payload: any) => console.log('foo', payload) )
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
||||
<style></style>
|
||||
|
|
|
|||
Loading…
Reference in a new issue