npm install -g yo
To install generator-fluxible from npm, run:
npm install -g generator-fluxible
Finally, initiate the generator:
yo fluxible
Then run gulp
or grunt
, depending on your choice. Browse to http://localhost:3000
to see a very simple Fluxible site with server-side rendering and client-side navigation.
Fluxible uses debug to expose debugging information on the server and client.
Start the application with the DEBUG
environment variable: DEBUG=* grunt
.
fluxibleDebug
is exposed to the window
object to manage debugging. You can enable it via the browser console: fluxibleDebug.enable('*');
then refresh the page. To disable, type the following: fluxibleDebug.disable();
.