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

<script>
export default {
  name: "Movies",
  data() {
    return {
      films: []
    };
  },
  async mounted() {
    this.films = await this.$axios.$get("/api/films");
  }
};
</script>

<style></style>
