Try
```ts
import {authService} from "tools"
```
Regards
Sander
Op dinsdag 22 december 2020 om 13:34:18 UTC+1 schreef [email protected]:
> 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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/angular/388d25a9-aee6-41ee-964f-18fdf633a9dcn%40googlegroups.com.