mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-21 09:50:13 +01:00
Remove old traces of typings.
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.
This commit is contained in:
parent
174fef85cc
commit
46691c94ca
5 changed files with 4 additions and 10 deletions
|
|
@ -4,7 +4,7 @@ RUN git clone https://github.com/akveo/ng2-admin.git /var/www \
|
|||
&& cd /var/www \
|
||||
&& npm install --global rimraf \
|
||||
&& npm run clean \
|
||||
&& npm install --global bower typings webpack webpack-dev-server typescript \
|
||||
&& npm install --global bower webpack webpack-dev-server typescript \
|
||||
&& bower install --allow-root \
|
||||
&& npm install \
|
||||
&& npm run prebuild:prod && npm run build:prod
|
||||
|
|
|
|||
|
|
@ -29,11 +29,6 @@ npm install --global webpack
|
|||
npm install --global webpack-dev-server
|
||||
```
|
||||
|
||||
* typings
|
||||
```bash
|
||||
npm install --global typings
|
||||
```
|
||||
|
||||
* typescript
|
||||
```bash
|
||||
npm install --global typescript
|
||||
|
|
@ -59,7 +54,7 @@ This will setup a working copy of ng2-admin on your local machine.
|
|||
|
||||
**Note**: If you have any issues after the installation, additionally run the following:
|
||||
```bash
|
||||
typings install && bower install
|
||||
bower install
|
||||
```
|
||||
## Running local copy
|
||||
|
||||
|
|
|
|||
|
|
@ -53,7 +53,6 @@ ng2-admin/
|
|||
├──tslint.json * typescript lint config
|
||||
├──typedoc.json * typescript documentation generator
|
||||
├──tsconfig.json * config that webpack uses for typescript
|
||||
├──typings.json * our typings manager
|
||||
├──package.json * what npm uses to manage it's dependencies
|
||||
├──bower.json * DEPRECATED - moving to npm as primary package manager for all dependenties
|
||||
└──.bowerrc * DEPRECARD - temporary bower configuration
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@ export function main(initialHmrState?: any): Promise<any> {
|
|||
* Vendors
|
||||
* For vendors for example jQuery, Lodash, angular2-jwt just import them anywhere in your app
|
||||
* You can also import them in vendors to ensure that they are bundled in one file
|
||||
* Also see custom-typings.d.ts as you also need to do `typings install x` where `x` is your module
|
||||
* Also see custom-typings.d.ts as you also need to do `npm install @types/x` where `x` is your module
|
||||
*/
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
// 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
|
||||
// run `npm install @types/x` where `x` is your module
|
||||
|
||||
// Angular 2
|
||||
import '@angular/platform-browser';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue