apollo-client-rxjs | Adds RxJS to ApolloClient | Reactive Programming library
kandi X-RAY | apollo-client-rxjs Summary
kandi X-RAY | apollo-client-rxjs Summary
Adds RxJS to ApolloClient
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of apollo-client-rxjs
apollo-client-rxjs Key Features
apollo-client-rxjs Examples and Code Snippets
Community Discussions
Trending Discussions on apollo-client-rxjs
QUESTION
I am trying to create an Angular 2 library for services, components, and models I want to share between 3-4 different interfaces/apps that are frontends to the same database.
I am using the very helpful Angular 2 generator library here.
My services in the library are based around Apollo client and GraphQL.
However, when I symlink the library build to import into my main project, the Apollo dependencies don't seem to resolve.
I get the following two errors from my app build: Can't resolve 'apollo-angular/index'
and Can't resolve 'graphql-tag/index'
. This is in spite of the fact that both these libraries are installed to my node_modules
in my app, however, they don't seem to transferred by the Gulp build into my dist
directory of my library but I am not even sure they are meant to be.
I have also tried to setup peer dependencies in my library's package.json
as follows:
ANSWER
Answered 2017-Jul-27 at 16:03It might occur because of this issue.
Try to define paths in your ts
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install apollo-client-rxjs
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page