Skip to content

Conversation

@fechengxiaocheng
Copy link

@fechengxiaocheng fechengxiaocheng commented Jun 28, 2018

修复 issue:close

相关 issues:将该项目作为react-koa-app-cli工具的脚手架项目,在项目中使用habdlebars模板引擎语法,以便在cli中和对应的数据compile成一个新的可自定义【projectName】【projectVersion】【projectDescription】的模板。

这个 PR 做了什么?

  • Bugfix
  • Feature
  • Code style update
  • Refactoring
  • Build related changes
  • CI related changes

从哪里开始看?

本 PR 是否有破坏性更改?

如何手动测试?

相关背景知识或者文档?

截屏?

  1. 改动前
  2. 改动后

下一步

如果是一个 完成大功能的部分 PR,请告知下一步将做什么?

其它

"name": "react-koa-app",
"version": "1.0.0",
"description": "scaffold for create web app with react and koa",
"name": "{{projectName}}",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这样修改有问题吧?如果是模板类型应该是 /template/package.json 吧?直接修改模块的 package.json 会有很多问题。

参考:https://github.com/vuejs-templates/webpack/tree/master/template

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants