keevitaja
388
4
Vue

Passing variable data from dom content to vue data object

Posted 2 years ago by keevitaja

Hello!

What is the best option to pass data to vue object?

<span v-for="item in [1,2,3,4,5]">

This array is created by php. I would need later to modify the array. Like add/remove items.

How should tackle this?

Please sign in or create an account to participate in this conversation.

Reply to

Use Markdown with GitHub-flavored code blocks.