首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >2.3更新后angular2快速入门丢失

2.3更新后angular2快速入门丢失
EN

Stack Overflow用户
提问于 2016-12-09 00:05:59
回答 1查看 105关注 0票数 0

我找不到原始的youtube快速入门,其中有package.json,tsconfig.ts,systemjs.config.js等和在线Angular2视频和教程使用的标准文件。

我发现Angular 2.3已经发布了,可能他们已经重写了整个快速入门。

有没有办法访问旧的快速入门?

这阻碍了我的开发进程,因此任何帮助都将不胜感激。

EN

回答 1

Stack Overflow用户

发布于 2016-12-09 02:12:12

tsconfig.json文件为:

代码语言:javascript
运行
复制
{
  "compilerOptions": {
    "target": "es5",
    "module": "commonjs",
    "moduleResolution": "node",
    "sourceMap": true,
    "emitDecoratorMetadata": true,
    "experimentalDecorators": true,
    "removeComments": false,
    "noImplicitAny": false
  }
}

tsconfig.json

package.json文件为:

代码语言:javascript
运行
复制
{
  "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"
  }
}

package.json

编辑1

快速入门示例的所有文件都可以在angular.io网站的git repo上找到。相关的angular文件位于app/文件夹中,配置文件位于quickstart/ts文件夹的根目录下。没有直接链接到快速入门示例的plunkr,因为嵌入的plunkr是在网站编译时生成的。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/41043792

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档