Skip to content

Commit

Permalink
updated to angular 5
Browse files Browse the repository at this point in the history
  • Loading branch information
Nitin Kumar Mishra committed Nov 12, 2017
1 parent be86677 commit 0007ba0
Show file tree
Hide file tree
Showing 257 changed files with 7,716 additions and 6,528 deletions.
21 changes: 9 additions & 12 deletions .angular-cli.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,13 @@
{
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
"project": {
"name": "sb-admin-angular4-bootstrap4"
"name": "test-ng4"
},
"apps": [
{
"root": "src",
"outDir": "dist",
"assets": [
"assets",
"favicon.ico",
".htaccess"
],
"assets": ["assets", "favicon.ico"],
"index": "index.html",
"main": "main.ts",
"polyfills": "polyfills.ts",
Expand All @@ -23,9 +19,7 @@
"../node_modules/font-awesome/css/font-awesome.css",
"styles/app.scss"
],
"scripts": [
"../node_modules/chart.js/dist/Chart.js"
],
"scripts": ["../node_modules/chart.js/dist/Chart.js"],
"environmentSource": "environments/environment.ts",
"environments": {
"dev": "environments/environment.ts",
Expand All @@ -40,13 +34,16 @@
},
"lint": [
{
"project": "src/tsconfig.app.json"
"project": "src/tsconfig.app.json",
"exclude": "**/node_modules/**"
},
{
"project": "src/tsconfig.spec.json"
"project": "src/tsconfig.spec.json",
"exclude": "**/node_modules/**"
},
{
"project": "e2e/tsconfig.e2e.json"
"project": "e2e/tsconfig.e2e.json",
"exclude": "**/node_modules/**"
}
],
"test": {
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# See http://help.github.com/ignore-files/ for more about ignoring files.
yarn-error.log

# compiled output
/dist
/tmp
/out-tsc

Expand Down
52 changes: 11 additions & 41 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,57 +1,27 @@
# SB Admin rewritten in Angular4 and Bootstrap 4
# TestNg4

Simple Dashboard Admin App built using Angular 4 and Bootstrap 4
This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 1.4.3.

This project is a port of the famous Free Admin Bootstrap Theme [SB Admin v4.0](http://startbootstrap.com/template-overviews/sb-admin-2/) to Angular4 Theme.
## Development server

Powered by [StartAngular](http://startangular.com/) & [StrapUI](http://strapui.com/)
Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files.

## [Demo](http://rawgit.com/start-angular/SB-Admin-BS4-Angular-4/master/dist/)
## Code scaffolding

This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 1.0.0.
Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module`.

### Introduction
Provides fast, reliable and extensible starter for the development of Angular projects.
## Build

`sb-admin-bs4-angular4` provides the following features:
- Developed using boostrap-v4.0.0-alpha.6
- angular-v4.2.4
- angular/cli-v1.1.3
- Following the best practices.
- Ahead-of-Time compilation support.
- Official Angular i18n support.
- Production and development builds.
- Tree-Shaking production builds.
Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory. Use the `-prod` flag for a production build.

### How to start
**Note** that this seed project requires **node >=v6.9.0 and npm >=3**.

In order to start the project use:
```bash
$ git clone https://github.com/start-angular/SB-Admin-BS4-Angular-4
$ cd SB-Admin-BS4-Angular-4
# install the project's dependencies
$ npm install
# watches your files and uses livereload by default run `npm start` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files.
$ npm start
# prod build, will output the production application in `dist`
# the produced code can be deployed (rsynced) to a remote server
$ npm run build
```

### Code scaffolding

Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive/pipe/service/class/module`.

### Running unit tests
## Running unit tests

Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).

### Running end-to-end tests
## Running end-to-end tests

Run `ng e2e` to execute the end-to-end tests via [Protractor](http://www.protractortest.org/).
Before running the tests make sure you are serving the app via `ng serve`.

### Further help
## Further help

To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README](https://github.com/angular/angular-cli/blob/master/README.md).
1 change: 0 additions & 1 deletion dist/0.eb90c44e0bc4ae102504.chunk.js

This file was deleted.

1 change: 0 additions & 1 deletion dist/1.388d8c8e92ce5bc47c2e.chunk.js

This file was deleted.

1 change: 0 additions & 1 deletion dist/10.b498e30a86ef7ec52848.chunk.js

This file was deleted.

1 change: 0 additions & 1 deletion dist/11.7cc48231ef49ef14a668.chunk.js

This file was deleted.

1 change: 0 additions & 1 deletion dist/12.77dc2d2fe09ab62c5a07.chunk.js

This file was deleted.

1 change: 0 additions & 1 deletion dist/2.b88869e414e791cbe212.chunk.js

This file was deleted.

1 change: 0 additions & 1 deletion dist/3.aae38008d9f4c4a5a9c6.chunk.js

This file was deleted.

Loading

0 comments on commit 0007ba0

Please sign in to comment.