Giter Club home page Giter Club logo

Comments (10)

sandangel avatar sandangel commented on July 16, 2024 2

I'm sure you would want to use Polymer 3.0 custom element in your Angular App, It's really great. and you have to add CUSTOM_ELEMENTS_SCHEMA to enable it.

from nx.

 avatar commented on July 16, 2024 1

FYI: This has been fixed with newer versions of VSCode Language Service Extension. Tested it with v0.1.9. It is now working as expected. (angular/vscode-ng-language-service#211)

from nx.

sandangel avatar sandangel commented on July 16, 2024

I think until that issue is fixed, you can add CUSTOM_ELEMENTS_SCHEMA like the editor suggest.

from nx.

oliamb avatar oliamb commented on July 16, 2024

@sandangel I agree, your proposal would remove the red.

I am not sure I want to do that because typechecking in templates is working quite well right now and I am not ready to give it up. What worries me is that nobody has acknowledged the issue and seems to be working on it as it is still broken in Angular 5 beta. I fear a bit that it will remain like this for a long time.

from nx.

vsavkin avatar vsavkin commented on July 16, 2024

This is an issue with the angular language service, we cannot fix it on our side. You can disable the language service for now.

from nx.

 avatar commented on July 16, 2024

Thought that angular/angular#20222 would fix this issue also for nx. However I still got the same error. Do you have any news about this? I really don't want to disable language service.

from nx.

blacksand avatar blacksand commented on July 16, 2024

@davidwuerfel before the vscode angular language service fix this issue, you can use 'yarn link' to help language service find the library path.

  1. cd libs/my-lib
  2. yarn init enter package name like @my-scope/my-lib
  3. yarn link
  4. cd ../..
  5. yarn link @my-scope/my-lib

restart vscode, angular language service should be works.

from nx.

 avatar commented on July 16, 2024

Thank you very much. Already made my day! This indeed works for the time being.

from nx.

mj-meyer avatar mj-meyer commented on July 16, 2024

FYI: I was still experiencing this issue. Seems you need to reload the editor each time you add a new lib. Unless it's just my environment that's whack. Although, I figured since you need to serve again after adding a lib, maybe you need to reload the editor as well. So I guess it would make sense?

from nx.

github-actions avatar github-actions commented on July 16, 2024

This issue has been closed for more than 30 days. If this issue is still occuring, please open a new issue with more recent context.

from nx.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.