Laravel eloquent data or simple props to create a custom Vue-router link in Vue.Js
问题 I have a SPA made in VUE and Laravel. Laravel returns API request and VUE create the frontend using the received data. In a few cases, I have some HTML code returned as compiled data by API engine having links inside. I would like to use these links in vue router but if I return the API having code like this: JSON code { comment: { 'bla <strong>bla</strong> bla <router-link :to="name:\'page\'">text</router-link>' } } Then I use the JSON code in my component template like: <div v-html={comment