简介

选项 API 基于 apollo Vue 组件选项。

示例:

<script>
export default {
  apollo: {
    // 查询放在这里
  }
}
</script>