我无法找到具有package.json,tsconfig.ts,systemjs.config.js等的原始Angular2快速入门以及在线youtube视频和教程使用的标准文件。
我发现Angular 2.3已经发布,可能是他们重写了整个快速入门。
有没有办法访问旧的快速入门?
这妨碍了我的开发过程,因此非常感谢任何帮助。
答案 0 :(得分:0)
tsconfig.json文件是:
{
"compilerOptions": {
"target": "es5",
"module": "commonjs",
"moduleResolution": "node",
"sourceMap": true,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"removeComments": false,
"noImplicitAny": false
}
}
package.json文件是:
{
"name": "angular2-quickstart",
"version": "1.0.0",
"scripts": {
"start": "tsc && concurrently \"npm run tsc:w\" \"npm run lite\" ",
"lite": "lite-server",
"postinstall": "typings install",
"tsc": "tsc",
"tsc:w": "tsc -w",
"typings": "typings"
},
"license": "ISC",
"dependencies": {
"@angular/common": "2.0.0",
"@angular/compiler": "2.0.0",
"@angular/core": "2.0.0",
"@angular/forms": "2.0.0",
"@angular/http": "2.0.0",
"@angular/platform-browser": "2.0.0",
"@angular/platform-browser-dynamic": "2.0.0",
"@angular/router": "3.0.0",
"@angular/upgrade": "2.0.0",
"core-js": "^2.4.1",
"reflect-metadata": "^0.1.3",
"rxjs": "5.0.0-beta.12",
"systemjs": "0.19.27",
"zone.js": "^0.6.23",
"angular2-in-memory-web-api": "0.0.20",
"bootstrap": "^3.3.6"
},
"devDependencies": {
"concurrently": "^2.2.0",
"lite-server": "^2.2.2",
"typescript": "^2.0.2",
"typings":"^1.3.2"
}
}
快速入门示例的所有文件都可以在git repo上找到angular.io网站。相关的角度文件位于app/
文件夹中,配置文件位于quickstart/ts
文件夹的根目录下。没有直接链接到quickstart示例的plunkr,因为嵌入式plunkr是在网站编译时生成的。