graphql-birdseye icon indicating copy to clipboard operation
graphql-birdseye copied to clipboard

[FEATURE] Vue library

Open rohit-ravikoti opened this issue 5 years ago • 4 comments

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

Describe the solution you'd like Currently, the graphql-birdseye package is only available in React and it would be nice to have a version for Vue as well.

Describe alternatives you've considered N/a

Additional context N/a

rohit-ravikoti avatar May 01 '19 19:05 rohit-ravikoti

or building a standard web component available for react, vue, angular etc.

bhtz avatar May 03 '19 12:05 bhtz

@bhtz, This is already available and published as graphql-birdseye-core. We are in the process of documenting how to use the library on #23.

rohit-ravikoti avatar May 05 '19 18:05 rohit-ravikoti

Thx, I am currently trying to integrate this in a very simple vue app and am failing miserably. Any help on how to integrate this with a vue app is very welcome. Right now, I seem to have import issues:

[Vue warn]: Error in created hook: "TypeError: graphql_birdseye_core__WEBPACK_IMPORTED_MODULE_1__.GraphqlBirdseye is not a constructor"

I've done a 'yarn add graphql-birdseye-core' and import the classes like this:

''' import { GraphqlBirdseye, IntrospectionDataStructure, } from "graphql-birdseye-core"; '''

Thx all!

hansamann avatar May 13 '19 07:05 hansamann

Related to #26

rohit-ravikoti avatar May 20 '19 06:05 rohit-ravikoti