yeoman / generator-polymer

Scaffold out a Polymer project
http://polymer-project.org
926 stars 150 forks source link

yo polymer only creates a polymer-element, not application #47

Closed alduro closed 10 years ago

alduro commented 10 years ago

I installed the generator as usual npm install -g generator-polymer. What did I miss ? Does not create Gruntfile.js file or app directory for instance.

robdodson commented 10 years ago

The current version of the generator is for creating elements, following this approach. We're working on updating it to scaffold out a Polymer application

dbroadhurst commented 10 years ago

Every tutorial indicates the generator will also scaffold. Was scaffolding removed?

robdodson commented 10 years ago

Yes it was removed so we could start fresh by first getting the element creation step right. We're in the process of adding it back in now.

dbroadhurst commented 10 years ago

Thanks for clarification. The approach you recommend above does not use the generator at all. What's the best recommendation?

alduro commented 10 years ago

Thanks @robdodson. I found this generator that uses scaffolding but using gulp instead of grunt. https://github.com/NicoArbogast/generator-polymer-gulp Bu tI would prefer grunt.

alduro commented 10 years ago

Hi @robdodson. was scaffolding adding it back already ? Thanks.

astericky commented 10 years ago

I have this same issue. Is it safe to update this today?

robdodson commented 10 years ago

Yes we just pushed out the new tag this morning. You can go ahead and update. Here are the release notes: https://github.com/yeoman/generator-polymer/releases/tag/v0.3.0

Note it's version 0.3.0. When you run yo polymer it should now ask if you want to include core-* and paper-* elements. If it asks for your github username then you're using the old generator.

astericky commented 10 years ago

Thanks guys! This is working for me now.

chrisekelley commented 10 years ago

Works for me too - thanks a lot!