[Vuejs]-Error: Cannot find module './MessageFeed.vue'

0👍

Try to rewrite scripts at Conversation.vue like there

    <script>
        import MessageFeed from './MessageFeed.vue';
        import MessageComposer from './MessageComposer.vue';

        export default {
            components: {
    MessageFeed,MessageComposer
  },
            props: {
            contact: {
            type: Object,
            default: null
    },
            messages: {
                type: Array,
                default: []
    }
    },
        methods: {
            sendMessage(text){
                console.log(text);
    }

    }

    }

    </script>

Leave a comment