Same services for several Angular 4 projects -
i working on 3 different projects client, each 1 @ different server 3 of them share lot of functionality.
i have basic folder structure:
/company
--project1
--project2
--project3
so tried put shared folder (with services) @ same company directory 3 projects , reference services going couple directories on app module.
the files found module seems services must inside app/src folder, error emerges telling me angular/core missing.
this basic way defining services:
import { injectable } "@angular/core"; import { headers, http } "@angular/http"; import { appsettings } "../app.settings"; import * moment 'moment'; @injectable() export class routesservice { }
so presume, breaking when trying find injectable @angular/core
what guys recommend accomplishing this?
Comments
Post a Comment