Aktuelle npm Version ausgeben
npm -v
npm selbst aktualisieren
npm install npm -g
oder mit
Aktuelle npm Version ausgeben
npm -v
npm selbst aktualisieren
npm install npm -g
oder mit
/** | |
* System configuration for Angular samples | |
* Adjust as necessary for your application needs. | |
*/ | |
(function (global) { | |
System.config({ | |
paths: { | |
// paths serve as alias | |
'npm:': 'node_modules/' | |
}, |
class Program | |
{ | |
static void Main(string[] args) | |
{ | |
//Handler registrieren, für den die | |
AppDomain.CurrentDomain.ReflectionOnlyAssemblyResolve += CurrentDomain_ReflectionOnlyAssemblyResolve; | |
var alleAssemblies = LoadAssemblies(@"C:\Test\DemoPageProxyGenerator"); | |
} |
module.exports = function (options) { | |
isProd = options.env === 'production'; | |
console.log("Webpack Common Options"); | |
console.log(options); | |
if(options["appname"] !== undefined) { | |
METADATA.baseUrl = options.appname; | |
} |
... | |
module.exports = function (env) { | |
console.log("Übergabe Parameter") | |
console.log(env); | |
var environment = { env : ENV }; | |
if(env !== undefined && env["appname"] !== undefined) { | |
environment.appname = env.appname; | |
} |
for (int i = 0; i < 10; i++) | |
{ | |
Console.WriteLine($"Der Aktuelle Index: {i}"); | |
} |
{ | |
"dependencies": { | |
"@angular/common": "4.0.3", | |
"@angular/compiler": "4.0.3", | |
"@angular/core": "4.0.3", | |
"@angular/forms": "4.0.3", | |
"@angular/http": "4.0.3", | |
"@angular/platform-browser": "4.0.3", | |
"@angular/platform-browser-dynamic": "4.0.3", | |
"@angular/router": "4.0.3", |
//Dekorator Definition | |
@Input() name : string; | |
@Output() nameChange = new EventEmitter<string>(); | |
//Aufruf | |
<my-child [(name)]="firstname"></my-child> |
//Dekorator Definition | |
@Input() age : string; | |
@Output() ageChanged = new EventEmitter<string>(); | |
//Aufruf | |
<my-child [age]="alter" (ageChanged)="alter = $event"></my-child> |
import { Component, Input, Output, EventEmitter } from '@angular/core'; | |
@Component({ | |
selector: 'my-child', | |
template: `<p>V1 Childvalue Name: "{{name}}"<br/><input [(ngModel)]="name" (keyup)="onNameChanged()"> <br/><br/> | |
<p>V2 Childvalue Age: "{{age}}"<br/><input [(ngModel)]="age" (keyup)="onAgeChanged()"> <br/></p>` | |
}) | |
export class ChildComponent { | |
@Input() name : string; | |
@Output() nameChange = new EventEmitter<string>(); |