<template>
  <section>
    <h1>Ghibli movies</h1>
    {{ films }}
  </section>
</template>

<script>
export default {
  name: "Movies",
  async asyncData({ $axios }) {
    const films = await $axios.$get("/api/films");
    return { films };
  }
};
</script>

<style></style>
