<template>
  <div @click="change">asdsaddsa</div>
  <!-- {{data.category[0]}} -->
</template>

<script>
export default {
  async asyncData({ $axios }) {
    let data = await $axios.$get("/api/today");
    return {
      data
    };
  },
  methods:{
    change(){
      this.$store.dispatch('changeTheme')
    }
  }
};
</script>

<style lang='scss'>
</style>
