You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey there, I'm having an issue getting the vue component to pass in my webpack build, it is currently triggering an Unexpected token error.
Here is the component: var VDataList = Vue.component('v-process-list', { props: { data: String }, render (h) { return ( <div>This is the VueJS Component, data received: {this.data}</div> ) } })
I think add this to the app: .value('VDataList', VDataList);
And finally in my directive I invoke the component: <vue-component name="VDataList" vprops="testData"></vue-component>
I'm suspicious I'm missing something in my webpack config, any help is greatly appreciated.
The text was updated successfully, but these errors were encountered:
We ended up getting it working via another means, I will post up the code this evening. We could not however get the code as written above working however.
Hey there, I'm having an issue getting the vue component to pass in my webpack build, it is currently triggering an Unexpected token error.
Here is the component:
var VDataList = Vue.component('v-process-list', { props: { data: String }, render (h) { return ( <div>This is the VueJS Component, data received: {this.data}</div> ) } })
I think add this to the app:
.value('VDataList', VDataList);
And finally in my directive I invoke the component:
<vue-component name="VDataList" vprops="testData"></vue-component>
I'm suspicious I'm missing something in my webpack config, any help is greatly appreciated.
The text was updated successfully, but these errors were encountered: