sadly that didn't work, I wonder if there is a way to specify it safely? I 
wouldn't want "tools" to collide with a package from node_modules?





On Tuesday, December 22, 2020 at 4:39:09 AM UTC-8 sande...@gmail.com wrote:

> Try
>
> ```ts
> import {authService} from "tools"
> ```
>
> Regards
> Sander
>
> Op dinsdag 22 december 2020 om 13:34:18 UTC+1 schreef 
> alexande...@gmail.com:
>
>> I created a library using:
>>
>> $ ng g library tools
>>
>> I want to import a service called AuthService from the library from 
>> another project, I have:
>>
>> import {AuthService} from "../../../../tools/src/lib/auth.service";
>>
>> is there a better way to resolve the library or is that about right?
>>
>

-- 
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/25896e2c-dee8-41be-a5ba-8261e3139b80n%40googlegroups.com.

Reply via email to