<template>
  <div class="theme-pagination" v-if="$pagination">
    <router-link class="theme-pagination__link theme-pagination__prev" v-if="$pagination.hasPrev" :to="$pagination.prevLink">Prev</router-link>
    <router-link class="theme-pagination__link theme-pagination__next" v-if="$pagination.hasNext" :to="$pagination.nextLink">Next</router-link>
  </div>
</template>

<script>
export default {
  created() {
    console.log(this.$pagination);
  }
}
</script>

<style lang="scss">
@import './index.scss';
</style>


