Chassis Core - Ionic
Installation
Add to package.json
and run yarn
:
"@kaiser-software/chassis-ionic-core": "file:./local_modules/@kaiser-software/chassis-ionic-core/dist"
Then, add the following to your app module:
/** /src/app/app.module.ts **/
import { CONFIG } from '../environments/env';
@NgModule({
declarations: [
...
],
imports: [
...
ChassisIonicCoreModule.forRoot(CONFIG)
...
]
/** /src/environments/env.ts **/
export const CONFIG = {
api_url: 'https://api.mydomain.com',
storage_url: 'https://storage.mydomain.com',
}
License
MIT © Kaiser Software