Comments (3)
I don't believe we currently support this. @mklabs do you think we should somehow hook generators up to the coffeescript compiler so that --coffee triggers conversions from JS generated code to coffee?
from generator.
You mean with something like https://github.com/rstacruz/js2coffee ? It could work.
Another simpler way of doing so, but it's then up to each generator to support that --coffee
option:
// in the backbone:model generator
var ext = this.options.coffee ? 'coffee' : 'js';
this.template('model.' + ext, this.options.name + '-model.' + ext);
Given that the template/ folder of the backbone:model
generator has both model.js
and model.coffee
template, this should work.
from generator.
Found another generator which helps to generate backbone models and collection in coffeescript.
from generator.
Related Issues (20)
- Typescript support? HOT 1
- Yo doesn't check parent directories for `yo-rc.json` HOT 4
- queueTransformStream doesn't seem to work properly with gulp-rename HOT 2
- this.installDependencies is not a function HOT 3
- Documentation not up-to-date for "Install actions" HOT 25
- this.addDevDependencies and this.addDependencies can improperly trigger conflict resolver HOT 8
- Clarify what to use instead of installDependencies action HOT 1
- addDependencies and addDevDependencies attempt to resolve all packages against the public npm registry HOT 8
- A vulnerability in your package HOT 6
- No package manager install will be executed HOT 1
- User Defined Options ignored in composeWith HOT 1
- this.registerTransformStream is not a function HOT 2
- Minimist CVE HOT 1
- "Which type of client-side component to create?" is missing "Extension" HOT 1
- Introduce a flag to use config in proxymode HOT 1
- Is this project abandoned? HOT 1
- Dependent library tui-jsdoc-template has high severity vulnerabilities HOT 1
- Value from option defined in a composed generator is only available on generator triggered HOT 2
- "Invoke validation failed. User forbidden to perform action" when trigger "More details" button of message extension sample HOT 2
- Cannot Remove Default Add-In HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from generator.