akxcv/vuera

Cant make it run in vue 2.5

402Martin opened this issue · 0 comments

``Hello, I am currently migrating from a vue app into a react app, and therefore i want to start adding some react component inside react.

I am trying To add a test react compoent to my Home.vue:

<template class='body-home'>
  <test />
</template>


import test from "./test"
@Component({
  components: { EvensmallerBriefCardLong, BriefCard, CaseStudyBlock, 'Test':Test },
})

export default class Home extends Vue {
//More code on here
}

In my Test.js

import React from 'react'
const Test = () => {
    return (
        <div>test 1234</div>
    );
}

export default Test; 

.babelrc
image

Console errors:

image

image