mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-27 12:48:49 +01:00
- NgaModule - module wrapper for all ng2-admin custom features - Ng Module per page - async components load - menu moved (again) to a separate file (as now each module has its own route file) - no need to import Ba* directives into the pages which have NgaModule in the import statement
32 lines
873 B
TypeScript
32 lines
873 B
TypeScript
// For vendors for example jQuery, Lodash, angular2-jwt just import them here unless you plan on
|
|
// chunking vendors files for async loading. You would need to import the async loaded vendors
|
|
// at the entry point of the async loaded file. Also see custom-typings.d.ts as you also need to
|
|
// run `typings install x` where `x` is your module
|
|
|
|
// Angular 2
|
|
import '@angular/platform-browser';
|
|
import '@angular/platform-browser-dynamic';
|
|
import '@angular/core';
|
|
import '@angular/common';
|
|
import '@angular/forms';
|
|
import '@angular/http';
|
|
import '@angular/router';
|
|
|
|
// AngularClass
|
|
import '@angularclass/hmr';
|
|
|
|
// RxJS
|
|
import 'rxjs/add/operator/map';
|
|
import 'rxjs/add/operator/mergeMap';
|
|
|
|
// Web dependencies
|
|
import 'jquery';
|
|
import 'bootstrap-loader';
|
|
import 'font-awesome-sass-loader';
|
|
import 'lodash';
|
|
|
|
if ('production' === ENV) {
|
|
// Production
|
|
} else {
|
|
// Development
|
|
}
|