dotansimha/graphql-code-generator-community

Vue 3 support for TypeScript Vue Apollo

Open

#115 建立於 2021年3月4日

在 GitHub 查看
 (5 留言) (3 反應) (0 負責人)TypeScript (195 fork)github user discovery
help wanted

倉庫指標

Star
 (136 star)
PR 合併指標
 (PR 指標待抓取)

描述

Is your feature request related to a problem? Please describe.

Currently, the TypeScript Vue Apollo imports @vue/composition-api which is a plugin to make the new Vue 3 composition API backward-compatible with Vue 2.

Describe the solution you'd like

This import is no longer needed with Vue 3, as the Composition API is now part of Vue itself.

I would like to see support for Vue 3, maybe with a new configuration parameter. I'm not sure if other changes besides changing this import are needed.

Additional context

Vue Appollo itself is being reworked for Vue 3: https://v4.apollo.vuejs.org/

貢獻者指南