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

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

<style></style>
