tfaga / generator-react-reflux Goto Github PK
View Code? Open in Web Editor NEWA Yeoman Generator for facebook's React framework and flux architecture using reflux.
Home Page: yeoman.io
License: MIT License
A Yeoman Generator for facebook's React framework and flux architecture using reflux.
Home Page: yeoman.io
License: MIT License
i am get this error on generate new app:
/Users/netanelbasal/.nvm/v0.10.35/lib/node_modules/generator-react-reflux/node_modules/yeoman-generator/lib/base.js:466
this.env.sharedFs.on('change', writeFiles);
^
TypeError: Object #<Object> has no method 'on'
Hi,
I'm getting this cryptic exception on gulp build
Error: ENOENT, no such file or directory '{/Users/Shared/java/projects/react/msa/react-project/.tmp/react.js,/Users/Shared/java/projects/react/msa/react-project/app/react.js}'
I'm not sure why react.js is supposed to be in .tmp. Any suggestions for me?
The readme file says run gulp
to build but the command is actually gulp build
. If I am understanding things correctly, for gulp
to work there needs to be a default section in the gulpfile (which could just call the build task).
Pretty much the title says it all. :)
$ yo react-reflux:actions api [17:27:53]
_-----_
| | .--------------------------.
|--(o)--| | Welcome to the excellent |
`---------´ | React Reflux generator! |
( _´U`_ ) '--------------------------'
/___A___\
| ~ |
__'.___.'__
´ ` |° ´ Y `
Out of the box I include ReactJS, React-Router, ReFlux, jQuery.
? What is the project's name? (api)
First of all, nice work 👍
But it seems that both yo react-reflux:actions actionName
and singular version: yo react-reflux:action
trigger app generator instead of actions generator.
The problem is in the 'scripts' task.:
runSequence(['clean:dev', 'clean:dist'],
['scripts', 'compass', 'imagemin'],
'bundle', 'copy');
The tasks do not run in the correct sequence --the 'bundle' task starts before the 'scripts' task finishes. Because of this lag, there is no scripts folder available in the 'dist' folder for the bundle to use.
Hey, I'm guessing this could be a problem somewhere else but after adding bootstrap-scss with bower the glyphicon fonts aren't being served because of path resolution issues. My suspicion is this could be something to do with the bundling code not correctly bundling the fonts, however I'm not experienced enough with gulp to know for sure so thought I should try filing an issue to see if it's something simple.
Thanks.
So I see that the cjsx cli tool from coffee-react has an option to generate a source map for debugging in the browser. I'm trying to figure out how to modify generator-react-reflux to pass this option and generate the source map during the build (using gulp and coffeescript options, but generic would obviously be best). I'm brand new to development with react and coffeescript so I've been struggling to find a solution.
Do you know if this would be an easy feature to add? I'm going to keep trying but I'd love some guidance!
Thank you,
Taylor
Facebook Jest is the recommended testing framework to use with reactjs (https://facebook.github.io/jest/).
Several plugins have been updated since the last version of this plugin. They should be updated accordingly.
Steps:
Hi,
I am using version 1.2.0 when I use gulp build command for prod environment this task creates app.js which has different name as compare to which is referred in index.html
For eg. after gulp build app.js created in dist as
\dist\scripts\app.d67c2095
and it referred in index.html as
script src="scripts/app.3d9085c0.js"
so there is change in file name.
Can you help us to figure out this?
A lot of people prefer grunt over gulp and in some cases it may be required or preferred.
Every flux and react component should have its own generator. This one should generate react view components.
Autoprefixer's process() method is deprecated and will removed in next major release. Use postcss([autoprefixer]).process() instead
A new version of reactjs was just released. Update it and the corresponding components (react-router, reactify, coffee-reactify).
Getting this error on saving file.
events.js:72
throw er; // Unhandled 'error' event
^
Error: EMFILE, open '/Users/vijaytyagi/Documents/react_things/react_todo/node_modules/react-router/node_modules/when/lib/Promise.js'
Any help would be appreciated.
The latest version of react-router has a few breaking changes with the way routes are presented. Update to the latest version adjust the syntax accordingly.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.