Home>

I want to keep each link separate while using and reusing components.
It is not displayed well, but it is the current code.


<component-txt title = "Title 1" content = "Content 1": url = "https://google.com"></component-txt>
Vue.component ('component-txt', {
  template: `
   
  <p>{{title}}</p>
  <p>{{content}}</p>
     link 
   
  `,
  props: ['title','content','url']
})

new Vue ({{
  el:'#app',
})