walmartlabs / generator-thorax

Thorax yeoman generator
MIT License
87 stars 27 forks source link

DISCUSSION: Chefs choice option #111

Closed eriktrom closed 10 years ago

eriktrom commented 10 years ago

When generating a new app the first question is for the Chef's choice, which is awesome.

The problem is to go from the chefs choice back to a blank app you must remove the following:

Delete:

Modify:

The chefs choice generates the hello world app which has a template containing the README.md found on the homepage of this repo. Assuming you found the repo and figured out how to install generator-thorax(by reading it), should the chefs choice option spit out an empty app instead of the hello world app?

/cc @eastridge

eastridge commented 10 years ago

@trombom I think it should spit out hello world. Easier to remove and have a readme than a totally blank screen

On Monday, December 9, 2013, Erik Trom wrote:

When generating a new app the first question is for the Chef's choice, which is awesome.

The problem is to go from the chefs choice back to a blank app you must remove the following:

Delete:

  • css/hello-world.css
  • js/routers/hello-world.js
  • js/templates/hello-world/index.hbs
  • js/views/hello-world/index.js

Modify:

  • js/main.js - remove line 5,22
  • public/index.html - remove line 7

The chefs choice generates the hello world app which has a template/view/route view containing the README.md found on the homepage of this repo. Assuming you found the repo and figured out how to install generator-thorax(by reading it), should the chefs choice option spit out an empty app instead of the hello world app?

/cc @eastridge https://github.com/eastridge

— Reply to this email directly or view it on GitHubhttps://github.com/walmartlabs/generator-thorax/issues/111 .

eriktrom commented 10 years ago

actually i do see the benefit of having a set of boilerplate files in place when writing your first router/template/view trio