1👍
For starters, both Vue and Node are implementations of the JavaScript language. They are not their own language.
The instance you’ve shown is a script within a Vue component, it returns an empty “games” array in its data object, and invokes some carousel function once the component is mounted to the virtual DOM, probably some bootstrap doodad.
- [Vuejs]-Nodejs html pass argument inside img or link source
- [Vuejs]-Vue js split bundle into few files via Webpack
0👍
Your question is quite confusing, but I guess I can render a suggestion here
Node.js you’ve mentioned is a backend technology
The snippet you’ve posted is, I’m 99.99% sure, a piece of frontend code. That makes me think that you cannot use it in your work
I don’t know what your final goal is but I would advise following a good tutorial. Consider taking a look at these links:
Good luck! 🙂