This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"version": "1.0.0-*", | |
"compilationOptions": { | |
"emitEntryPoint": true | |
}, | |
"dependencies": { | |
"Microsoft.AspNet.Authentication.Cookies": "1.0.0-rc1-final", | |
"Microsoft.AspNet.Diagnostics.Entity": "7.0.0-rc1-final", | |
"Microsoft.AspNet.IISPlatformHandler": "1.0.0-rc1-final", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Glimpse; | |
using Microsoft.AspNet.Builder; | |
using Microsoft.AspNet.Hosting; | |
using Microsoft.Extensions.Configuration; | |
using Microsoft.Extensions.DependencyInjection; | |
using Microsoft.Extensions.Logging; | |
namespace WebApplication1 | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "Sample", | |
"version": "0.0.1", | |
"dependencies": { | |
"angular2": "2.0.0-beta.0", | |
"bootstrap": "3.3.6", | |
"systemjs": "0.19.6", | |
"es6-promise": "^3.0.2", | |
"es6-shim": "^0.33.3", | |
"reflect-metadata": "0.1.2", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// <binding BeforeBuild='default' /> | |
"use strict"; | |
var _ = require('lodash'), | |
gulp = require('gulp'), | |
uglify = require('gulp-uglify'), | |
cssmin = require('gulp-cssmin'), | |
rename = require('gulp-rename'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import {bootstrap} from "angular2/platform/browser" | |
import {ROUTER_PROVIDERS} from "angular2/router"; | |
import {HTTP_PROVIDERS} from "angular2/http"; | |
import {AppComponent} from "./app.component" | |
bootstrap(AppComponent, [ROUTER_PROVIDERS, HTTP_PROVIDERS]); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import {Component, OnInit} from "angular2/core"; | |
import {AsyncRoute, Router, RouteDefinition, RouteConfig, Location, ROUTER_DIRECTIVES} from "angular2/router"; | |
import {StaticComponent} from "./components/static.component"; | |
declare var System: any; | |
@Component({ | |
selector: "app", | |
templateUrl: "/app/app.html", | |
directives: [ROUTER_DIRECTIVES] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import {Component, OnInit} from "angular2/core"; | |
@Component({ | |
selector: "static", | |
templateUrl: "app/components/static.html" | |
}) | |
export class StaticComponent implements OnInit { | |
message: string; | |
constructor() { } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<static> | |
<blockquote>{{message}}</blockquote> | |
</static> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="page-header"> | |
<h1> | |
MVC, Angular2 | |
<br> | |
<small>Sample</small> | |
</h1> | |
</div> | |
<nav class="navbar navbar-inverse"> | |
<div class="container-fluid"> | |
<div class="navbar-header"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import {Component, OnInit} from "angular2/core"; | |
@Component({ | |
selector: "mvc", | |
templateUrl: "/partial/message" | |
}) | |
export class MvcComponent implements OnInit { | |
message: string; | |
constructor() { } |
OlderNewer