mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-23 02:40:14 +01:00
In the commit akveo/ng2-admin@e7fca6d4, we moved to @types for TypeScript typings. It remains some traces in the documentation. This commit remove them.
32 lines
860 B
TypeScript
32 lines
860 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 `npm install @types/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';
|
|
|
|
// 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
|
|
require('angular2-hmr');
|
|
|
|
}
|