When scaffolding a new tower js app i execute
tower new demo --views jade
but i still get the default CoffeeKup layouts.
Any help with this would be great
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
This feature hasn’t been implemented yet, only the command line flags have been setup so far. Here are the generator templates:
To add this feature all that needs to be done is to wire the command line flags to the
viewGenerator.coffeeandappGenerator.coffeefiles:programvariable: src/tower/server/generator.coffee#L20program: src/tower/server/command/new.coffeeSo all that needs to be done is modify that
viewGenerator.coffeescript to something like:I would help implement this but don’t have the time at the moment, working on merging the dev branch to master. Hope that helps.