|
<template lang="pug">
|
|
p {{ yolo }}
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
name: 'raith-test2', //Really important
|
|
data() {
|
|
return {
|
|
yolo: null
|
|
}
|
|
},
|
|
created() {
|
|
API.pages().then(resp => {
|
|
this.yolo = resp.data
|
|
}).catch(err => {
|
|
this.yolo = err.response.statusText
|
|
})
|
|
}
|
|
}
|
|
</script> |