Alexandro
Member since Jun 3, 2019
- Profile: /members/13967-alexandro.htm
- Comments: 3
Recent Blog Comments By Alexandro
-
Providing Module Configuration Using forRoot() And Ahead-Of-Time Compiling In Angular 7.2.0
Posted on Jul 18, 2019 at 5:49 AM
@Ben, I met a really good angular developer and we took a look to my code. In my libraries services, I directly Inject the InjectionToken. However, we discovered the error was the presence of index.ts files, used as the entry points for modules, services, models, etc. We have deleted all in... read more »
-
Providing Module Configuration Using forRoot() And Ahead-Of-Time Compiling In Angular 7.2.0
Posted on Jun 10, 2019 at 11:44 AM
@Ben, Unfortunately, I didn't. I tried to look into Angular Router module code, that uses forRoot(), but it is too hard to understand. Anyway, if I start the server with "--aot" option, it works. I really don't understand how it is written...... read more »
-
Providing Module Configuration Using forRoot() And Ahead-Of-Time Compiling In Angular 7.2.0
Posted on Jun 3, 2019 at 6:56 AM
Hi! Really great tutorial, but I still have the error: "Function calls are not supported in decorators" if I build the module and try to install it from NPM. Your code on Github works perfectly "as is", but if I create a NPM module with the two files in "my-service&q... read more »