how to fix "attribute is not allowed here" on angular project Follow Mitt Willson Created April 02, 2018 06:43
Looks like WebStorm has failed to find definitions of the corresponding directives/attributes. Where do they come from?
they from node_modules, Visual studio code work with plugins
here is demo repo:
https://github.com/cipchk/ng-alain
the file of problems:
src/app/routes/dashboard/v1/v1.component.html
and thank you for your replay :-D
Doesn't work for me in VSCode as well... Logged as https://youtrack.jetbrains.com/issue/WEB-32129, please follow it for updates
im using this plugins for vscode, you can try it
- Angular v4 TypeScript Snippets
- Auto Import
- TypeScript Import Assistance
- AngularDoc for Visual Studio Code
and think you for help again
Was there ever a solution to this? I'm still running into this on the latest version of PHPStorm.
https://youtrack.jetbrains.com/issue/WEB-32129 is fixed in 2019.1; your issue must be different
Try to enable "Angular and AngularJS" plugin.
[Ctrl] + [Alt] + [S] >> Plugins >> Marketplace >> 'Angular' >> Install and Enable