You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
358 B
23 lines
358 B
<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>
|
|
|