|
Vue.component('raith-test1', {
|
|
template: `<div><p>{{ yolol }}</p></div>`,
|
|
methods: {},
|
|
data() {
|
|
return {
|
|
yolol: null
|
|
}
|
|
},
|
|
created() {
|
|
API.pages().then(resp => {
|
|
this.yolol = Object.values(resp.data)[0]
|
|
}).catch(err => {
|
|
this.yolol = err.response.statusText
|
|
})
|
|
}
|
|
}) |