0👍
Found the solutions. It was in Webpack where all the scripts where in mix.scripts, while this JS-file needs to be in mix.js.
- [Vuejs]-[Vue warn]: Error in render: "TypeError: Cannot read property 'name' of undefined"
- [Vuejs]-Vue: how do I pass down data from my parent component to required child components?
Source:stackexchange.com