refactor(aio): add the docs, remove the unneeded dependencies, remove a config folder, fix a travis config

This commit is contained in:
Alexander Zhukov 2017-04-19 12:52:08 +03:00
parent 523f44b746
commit b205a6d570
39 changed files with 2516 additions and 1791 deletions

View file

@ -3,7 +3,6 @@ import { BrowserModule } from '@angular/platform-browser';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { HttpModule } from '@angular/http';
import { RouterModule } from '@angular/router';
import { removeNgStyles, createNewHosts, createInputTransfer } from '@angularclass/hmr';
import { NgbModule } from '@ng-bootstrap/ng-bootstrap';
import { TranslateService } from '@ngx-translate/core';
/*

View file

@ -19,14 +19,14 @@ export const routes: Routes = [
component: Pages,
children: [
{ path: '', redirectTo: 'dashboard', pathMatch: 'full' },
{ path: 'dashboard', loadChildren: 'app/pages/dashboard/dashboard.module#DashboardModule' },
{ path: 'editors', loadChildren: 'app/pages/editors/editors.module#EditorsModule' },
{ path: 'components', loadChildren: 'app/pages/components/components.module#ComponentsModule' },
{ path: 'charts', loadChildren: 'app/pages/charts/charts.module#ChartsModule' },
{ path: 'ui', loadChildren: 'app/pages/ui/ui.module#UiModule' },
{ path: 'forms', loadChildren: 'app/pages/forms/forms.module#FormsModule' },
{ path: 'tables', loadChildren: 'app/pages/tables/tables.module#TablesModule' },
{ path: 'maps', loadChildren: 'app/pages/maps/maps.module#MapsModule' }
{ path: 'dashboard', loadChildren: './dashboard/dashboard.module#DashboardModule' },
{ path: 'editors', loadChildren: './editors/editors.module#EditorsModule' },
{ path: 'components', loadChildren: './components/components.module#ComponentsModule' },
{ path: 'charts', loadChildren: './charts/charts.module#ChartsModule' },
{ path: 'ui', loadChildren: './ui/ui.module#UiModule' },
{ path: 'forms', loadChildren: './forms/forms.module#FormsModule' },
{ path: 'tables', loadChildren: './tables/tables.module#TablesModule' },
{ path: 'maps', loadChildren: './maps/maps.module#MapsModule' }
]
}
];

View file

@ -1 +0,0 @@
// This file is intentionally without code.

View file

@ -1,37 +1,22 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!--<title><%= htmlWebpackPlugin.options.title %></title>-->
<title>ng2-admin</title>
<!--<meta name="description" content="<%= htmlWebpackPlugin.options.metadata.description %>">-->
<!--<% if (webpackConfig.htmlElements.headTags) { %>-->
<!--&lt;!&ndash; Configured Head Tags &ndash;&gt;-->
<!--<%= webpackConfig.htmlElements.headTags %>-->
<!--<% } %>-->
<!-- base url -->
<!--<base href="<%= htmlWebpackPlugin.options.metadata.baseUrl %>">-->
</head>
<body>
<app>
</app>
<app>
</app>
<div id="preloader">
<div></div>
</div>
<!--<% if (htmlWebpackPlugin.options.metadata.isDevServer && htmlWebpackPlugin.options.metadata.HMR !== true) { %>-->
<!--&lt;!&ndash; Webpack Dev Server reload &ndash;&gt;-->
<!--<script src="/webpack-dev-server.js"></script>-->
<!--<% } %>-->
<div id="preloader">
<div></div>
</div>
</body>
</html>