英雄角游:Angular-英雄之旅-入门后的下一步

时间:2021-02-26 15:02:56
【文件属性】:
文件名称:英雄角游:Angular-英雄之旅-入门后的下一步
文件大小:116KB
文件格式:ZIP
更新时间:2021-02-26 15:02:56
TypeScript 入门 超级简单的Angular应用,带有1个模块和2条路线。 这是我为撰写的《英雄之旅》的一个小变体。 取得验证码 git clone https://github.com/johnpapa/angular-tour-of-heroes.git toh cd toh npm i 开发服务器 为开发服务器运行ng serve 。 导航到http://localhost:4200/ 。 如果您更改任何源文件,该应用程序将自动重新加载。 代码脚手架 运行ng generate component component-name生成一个新的组件。 您也可以使用ng generate directive|pipe|service|class|module 。 建造 运行ng build来构建项目。 构建工件将存储在dist/目录中。 使用-prod标志进行生产构建。 运行单元测试 运行ng test通
【文件预览】:
angular-tour-of-heroes-master
----package.json(2KB)
----tslint.json(3KB)
----protractor.conf.js(712B)
----angular.json(3KB)
----LICENSE(11KB)
----package-lock.json(379KB)
----src()
--------typings.d.ts(104B)
--------tsconfig.app.json(209B)
--------test.ts(1KB)
--------assets()
--------index.html(280B)
--------tsconfig.spec.json(322B)
--------app()
--------main.ts(336B)
--------styles.css(287B)
--------polyfills.ts(2KB)
--------environments()
--------favicon.ico(5KB)
----tsconfig.json(385B)
----e2e()
--------tsconfig.e2e.json(214B)
--------app.po.ts(209B)
--------app.e2e-spec.ts(301B)
----.gitignore(516B)
----karma.conf.js(1006B)
----README.md(1KB)
----.editorconfig(245B)
----.vscode()
--------launch.json(1019B)

网友评论