我正在尝试Angular 2的快速启动,但我不知道它的工作原理.我一直在找一些类似的问题,但我找不到答案.有人可以帮帮我吗?
这是我的代码.
app.component.ts
import {Component} from 'angular2/core';
@Component({
selector: 'my-app',
template: '<h1>My First Angular 2 App</h1>'
})
export class AppComponent { }
Run Code Online (Sandbox Code Playgroud)
main.ts
import {bootstrap} from 'angular2/platform/browser'
import {AppComponent} from './app.component'
bootstrap(AppComponent);
Run Code Online (Sandbox Code Playgroud)
的index.html
<html>
<head>
<title>Angular 2 QuickStart</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="styles.css">
<!-- 1. Load libraries -->
<!-- IE required polyfills, in this exact order -->
<script src="node_modules/es6-shim/es6-shim.min.js"></script>
<script src="node_modules/systemjs/dist/system-polyfills.js"> </script>
<script src="node_modules/angular2/es6/dev/src/testing/shims_for_IE.js"></script>
<script src="node_modules/angular2/bundles/angular2-polyfills.js"></script>
<script src="node_modules/systemjs/dist/system.src.js"></script>
<script src="node_modules/rxjs/bundles/Rx.js"></script>
<script src="node_modules/angular2/bundles/angular2.dev.js"></script>
<!-- 2. Configure SystemJS --> …Run Code Online (Sandbox Code Playgroud) 我安装了自己的phabricator,并配置了用户名/密码验证方法.身份验证方法受电子邮件域限制,需要管理员批准.
之后,我创建了一个新的用户帐户,我可以看到有关人员区域和"需要批准"消息的通知,但我不知道批准帐户的操作在哪里.
SomeOne知道吗?
谢谢.