Vue.component('Copybox',{
template : `
`,
props : {
obj : Object
},
data () {
return {
siteoff : {
fr : "Site officiel",
en : "Official website",
it : "Sito ufficiale",
},
}
},
methods : {
capitalize(s){
return s.charAt(0).toUpperCase() + s.slice(1)
},
}
})
let vm = new Vue({
el: '#root',
data: {
url: '',
lang: '',
output: ''
},
component: {
check() {
return "check"
}
}
}).$mount('#root')