Skip to content

Commit 25cd554

Browse files
committed
updated to angular V7
1 parent 7afbdbe commit 25cd554

17 files changed

+10977
-187
lines changed

.angular-cli.json

Lines changed: 0 additions & 62 deletions
This file was deleted.

.editorconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Editor configuration, see http://editorconfig.org
1+
# Editor configuration, see https://editorconfig.org
22
root = true
33

44
[*]

LICENSE

Lines changed: 0 additions & 21 deletions
This file was deleted.

README.md

Lines changed: 14 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -1,55 +1,27 @@
1-
# PurpleAdmin Free Angular Admin Template
1+
# PurpleAngular
22

3+
This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 7.2.1.
34

4-
PurpleAdmin Free Angular Admin Template is a free admin template based on Bootstrap 4. The template is built using the framework NG-Bootstrap.
5+
## Development server
56

6-
PrupleAdmin Free Angular Admin Template is a completely responsive and mobile-first admin template that provides a great foundation for your Angular + Bootstrap project.
7-
This remarkably flexible and highly customizable template helps you create an amazing UI for your admin panel.
7+
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.
88

9-
## Demo
9+
## Code scaffolding
1010

11-
Visit: http://www.bootstrapdash.com/demo/purple-free-angular/
11+
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`.
1212

13-
## Installation
13+
## Build
1414

15-
### What's included
15+
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.
1616

17-
Within the download you'll find the following directories and files, logically grouping common assets and providing both compiled and minified variations. You'll see something like this:
17+
## Running unit tests
1818

19-
```
20-
PurpleAdmin Free Angular Admin Template/
21-
├── dist/
22-
├── e2e/
23-
├── src/
24-
├──.angular-cli.json
25-
├── .editorconfig
26-
├── angular.json
27-
├── package.json
28-
├── README.md
29-
├── tsconfig.json
30-
├── tslint.json
31-
```
19+
Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).
3220

33-
### Usage
21+
## Running end-to-end tests
3422

35-
``` bash
36-
# clone the repo
37-
$ git clone
38-
https://github.com/BootstrapDash/PurpleAdmin-Free-Angular-Admin-Template.git
23+
Run `ng e2e` to execute the end-to-end tests via [Protractor](http://www.protractortest.org/).
3924

40-
# go into app's directory
41-
$ cd PurpleAdmin-Free-Angular-Admin-Template
25+
## Further help
4226

43-
# install dependencies
44-
npm install
45-
46-
# serve with hot reload at localhost:4200
47-
ng serve
48-
49-
# build for production with minification
50-
ng build
51-
```
52-
53-
### Go Premium!!
54-
55-
Do you need a template with more features and functionalities? Get more with our collection of the premium template with more plugins, eye catching animations, UI components, and sample pages all fitting together with a high-quality design. Visit https://www.bootstrapdash.com for more admin templates.
27+
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).

angular.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,14 @@
4747
"aot": true,
4848
"extractLicenses": true,
4949
"vendorChunk": false,
50-
"buildOptimizer": true
50+
"buildOptimizer": true,
51+
"budgets": [
52+
{
53+
"type": "initial",
54+
"maximumWarning": "2mb",
55+
"maximumError": "5mb"
56+
}
57+
]
5158
}
5259
}
5360
},
@@ -102,6 +109,7 @@
102109
"purple-angular-e2e": {
103110
"root": "e2e/",
104111
"projectType": "application",
112+
"prefix": "",
105113
"architect": {
106114
"e2e": {
107115
"builder": "@angular-devkit/build-angular:protractor",

e2e/src/app.e2e-spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ describe('workspace-project App', () => {
99

1010
it('should display welcome message', () => {
1111
page.navigateTo();
12-
expect(page.getParagraphText()).toEqual('Welcome to purple-angular!');
12+
expect(page.getTitleText()).toEqual('Welcome to purple-angular!');
1313
});
1414
});

e2e/src/app.po.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export class AppPage {
55
return browser.get('/');
66
}
77

8-
getParagraphText() {
8+
getTitleText() {
99
return element(by.css('app-root h1')).getText();
1010
}
1111
}

0 commit comments

Comments
 (0)