Why do AngularJS directives (attributes, etc.) show up as “invalid” in WebStorm 8?

前端 未结 4 1251
时光说笑
时光说笑 2021-02-13 23:42

I just installed WebStorm 8 a couple of hours ago. I\'ve been writing some AngularJS stuff, and I have a rather annoying little problem. The AngularJS plugin seems to work parti

4条回答
  •  有刺的猬
    2021-02-14 00:24

    Are you refrenceing AngularJS from a CDN in your HTML? If so just download angular and reference the local copy in your HTML. Then the angular features should start working. Alternatively I think you can just click the path to the angular CDN in your html, press Alt+Enter and select something like download library.

提交回复
热议问题