我找不到原始的youtube快速入门,其中有package.json,tsconfig.ts,systemjs.config.js等和在线Angular2视频和教程使用的标准文件。
我发现Angular 2.3已经发布了,可能他们已经重写了整个快速入门。
有没有办法访问旧的快速入门?
这阻碍了我的开发进程,因此任何帮助都将不胜感激。
发布于 2016-12-09 02:12:12
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"
}
}
编辑1
快速入门示例的所有文件都可以在angular.io网站的git repo上找到。相关的angular文件位于app/
文件夹中,配置文件位于quickstart/ts
文件夹的根目录下。没有直接链接到快速入门示例的plunkr,因为嵌入的plunkr是在网站编译时生成的。
https://stackoverflow.com/questions/41043792
复制相似问题