1.0.0-preview-15 • Published 6 years ago
@iatec/ng2-employeeclient v1.0.0-preview-15
@iatec/ng2-employeeclient@1.0.0-preview-15
Building
To build an compile the typescript sources to javascript use:
npm install
npm run build
publishing
First build the package than run npm publish
consuming
navigate to the folder of your consuming project and run one of next commando's.
published:
npm install @iatec/ng2-employeeclient@1.0.0-preview-15 --save
unPublished (not recommended):
npm install PATH_TO_GENERATED_PACKAGE --save
In your angular2 project:
TODO: paste example.
Set service base path
If different than the generated base path, during app bootstrap, you can provide the base path to your service.
import { BASE_PATH } from './path-to-swagger-gen-service/index';
bootstrap(AppComponent, [
{ provide: BASE_PATH, useValue: 'https://your-web-service.com' },
]);
1.0.0-preview-15
6 years ago
1.0.0-preview-14
6 years ago
1.0.0-preview-13
6 years ago
1.0.0-preview-10
6 years ago
1.0.0-preview-9
6 years ago
1.0.0-preview-8
6 years ago
1.0.0-preview-7
6 years ago
1.0.0-preview-6
6 years ago