Open
Conversation
Contributor
Author
|
计划通过若干篇文章来说一下自己从零开始构建一个angular2应用的过程,不使用任何starter或seed,不使用angular-cli,最终实现使用webpack打包编译,支持pug、less、hmr、路由懒加载、aot编译和服务端渲染 |
Contributor
Author
|
@asnowwolf 辛苦review一下 |
rxjs-space
reviewed
Feb 10, 2017
| @@ -0,0 +1,294 @@ | |||
| # Angular 2从零开始系列 - 00 | |||
|
|
|||
| 本系列将会从零开始构建一个完整的Angular项目,最终实现一个简易版的twitter,不依赖任何seed或starter,也不使用Angular cli,这样做的目的是让自己对Angular应用开发的每一个环节都有一定的了解 | |||
Contributor
There was a problem hiding this comment.
AngularTwitter 项目包含后端吗?
Contributor
Author
There was a problem hiding this comment.
包含,后面会做服务端渲染
目前的代码还没有包含,我是一遍写教程,一遍写示例代码 :p
Contributor
There was a problem hiding this comment.
如果包含后端,能否在 line5 “特性” 部分添加后端内容,并且在 line74 “目录结构”中预留后端文件夹?
Contributor
Author
There was a problem hiding this comment.
特性部分写了服务端渲染,具体怎么实现我其实还没想好。另外我的想法是一步一步实现各个特性,而不是一开始就提供一个完整的脚手架,这样读者可能更容易接受吧。。。也有身临其境的感觉,嘿嘿
Contributor
Author
There was a problem hiding this comment.
所以服务端相关的东西,可能会在最后期才会添加到“目录结构”中
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
merge from master