Thursday, March 21, 2019

Angular's build-to-dist-folder convention and its parallels to web forms

Alright, you may access a private method in an Angular component from its template unlike how you may access a private method in a code behind from its web form, however, when you go to run...

npm run build-prod

 
 

...the private method will likely be unacceptable and you will not be able to package up the Angular app because of it. Make these methods public.

No comments:

Post a Comment