Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Learn from ng-cli #4

Closed
afc163 opened this issue Nov 2, 2017 · 7 comments
Closed

Learn from ng-cli #4

afc163 opened this issue Nov 2, 2017 · 7 comments
Assignees

Comments

@afc163
Copy link
Member

afc163 commented Nov 2, 2017

https://github.com/angular/angular-cli/wiki/generate
https://github.com/angular/angular-cli/wiki/new

@yesmeck
Copy link
Member

yesmeck commented Nov 3, 2017

现在的 init 命令稍微有点反直觉。

先转发一个赞

dingtalk20171103164723

dingtalk20171103164839

一般感觉 init 是初始化当前目录(比如 git init),但是现在 init 的会新建一个目录,改成 newcreate 更好点。

@yesmeck
Copy link
Member

yesmeck commented Nov 3, 2017

现在的 new 应该叫 generate

@nikogu
Copy link
Contributor

nikogu commented Nov 3, 2017

有道理

@yesmeck
Copy link
Member

yesmeck commented Nov 3, 2017

另外可以考虑下 yarn 的这个命令 https://yarnpkg.com/lang/en/docs/cli/create/

@BANG88
Copy link
Member

BANG88 commented Nov 3, 2017

使用这个是不是就不用CRA了,另外生成的时候应该考虑一下支持用户自定义的模版生成代码。生成后的代码或许可以用prettier格式化一下,还有TypeScript version 😢 ,现在项目也有一个生成的,还是希望能够统一用一个脚手架就好

@nikogu
Copy link
Contributor

nikogu commented Nov 3, 2017

这个下周重点优化下,上个 0.3.0 版本

@nikogu nikogu self-assigned this Nov 3, 2017
@chenshuai2144
Copy link
Collaborator

typescript支持 我来搞一个把。我有一些样板代码

@afc163 afc163 closed this as completed Aug 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants