Your comment did help me.

Le vendredi 18 octobre 2019 07:10:50 UTC+2, Sander Elias a écrit :
>
> Hi Anno,
>
> I have looked into protobuf a couple of times. There is not much you need 
> for angular support. If you just create your js files, you can import those 
> in any service, and use them there.
> What browsers do you need to support? 
> When the answer is "modern only" you can use the import function to 
> lazy-load the compiled protobuf schema's. 
> When you have those available during compile-time it's easier to just 
> import those files.
>
> The sample you linked does explain most of it correctly, aside from the 
> point that at the time it was written, import could not handle those files. 
> it can now.
> I would not put the compiled results in assets unless they are highly 
> dynamic, but instead put them somewhere in your app folder, and import them 
> where needed.
>
> Regards
> Sander
>

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to angular+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/angular/f2687041-bec5-49ed-9c09-e5369d52316c%40googlegroups.com.

Reply via email to