Home.js 641 Bytes
import Vue from "vue";
import MyTransition from "@theme/components/MyTransition.vue";
import NavLink from "@theme/components/Navbar/NavLink.vue";
import { navigate } from "@theme/utils/navigate";
export default Vue.extend({
    name: "Home",
    components: { MyTransition, NavLink },
    computed: {
        actionLinks() {
            const { action } = this.$frontmatter;
            if (Array.isArray(action))
                return action;
            return [action];
        },
    },
    methods: {
        navigate(link) {
            navigate(link, this.$router, this.$route);
        },
    },
});
//# sourceMappingURL=Home.js.map