3

I need to install an Angular 2 template, but when I try the GitHub templates I have mistakes. Would you give me a quality template or tutorial for Angular 2 with SPFx:

Errors: enter image description here

1

I've not looked at the code from the template that you've linked, but what is in your screenshot appears to be warnings and is simply the linter advising that there things to correct. Assuming that everything works as expected in the workbench when running gulp serve, it shouldn't take too long to correct the warnings that are in the screenshot you provided, after which you can then reuse the code you have as a template as required.

I'm not aware of an Angular2 template I'm afraid, but there is a Microsoft example with Angular2 here.

Regarding a tutorial, I cannot find one for Angular 2, but Waldek Mastykarz has an article on Angular1 here. Pretty much all of Mastykarz's stuff is gold in my eyes, especially with SPFx.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.