I have two Angular projects and I want to import the same "ts" file from both of them.
To achieve this, I plan to create a shared folder that both projects can import the file from.
Is there a way to do this?
I tried importing the file using an absolute address, like this:
import { Model } from 'D:/Projects/shared/service';
but it didn't work.
I have tried following some solutions, but it seems they are not what I am looking for. Refer a typescript file outside of project directory Files outside of project directory in angular2 seed project
Is there another way to accomplish this?
Thank you very much!