0👍
If you want to send the whole thing, for whatever reason that may be, you would have to make it all a string.
const sendToDb = '<p class="valikud" v-model="post.store"> {{body}} </p>'
I can’t for the life of me think of a use case for this though. Would it be possible to show what you want to save, then how you intend you use that data once you pull it form the database? there may be a better way to achieve what you want.
- [Vuejs]-Vue data property doesn't update when put inside <code> tag
- [Vuejs]-JavaScript in Vue Component, set Data property in object 1 tp data in object 2 if Key matches
Source:stackexchange.com