JHipster – Use the FuelUX library


The FuelUX library contains a great set of components to use on your next project. If you’d like to use it alongside jhipster you just need to add it with bower:

bower install –save fuelux

beware that fuelux uses requirejs and the order of injection of wiredep grunt task causes the following error

Error: Mismatched anonymous define() module: function (require)

I had to move the requirejs inclusion at the end

<a href="http://bower_components/fuelux/dist/js/fuelux.js">http://bower_components/fuelux/dist/js/fuelux.js</a>
        <a href="http://bower_components/underscore/underscore.js">http://bower_components/underscore/underscore.js</a>
        <a href="http://bower_components/requirejs/require.js">http://bower_components/requirejs/require.js</a>

The problem is that each time the wiredep task runs it changes back the order and causes the problem again. If anyone know how may I fix this it would be great.




Introduce tus datos o haz clic en un icono para iniciar sesión:

Logo de WordPress.com

Estás comentando usando tu cuenta de WordPress.com. Cerrar sesión /  Cambiar )

Google+ photo

Estás comentando usando tu cuenta de Google+. Cerrar sesión /  Cambiar )

Imagen de Twitter

Estás comentando usando tu cuenta de Twitter. Cerrar sesión /  Cambiar )

Foto de Facebook

Estás comentando usando tu cuenta de Facebook. Cerrar sesión /  Cambiar )

Conectando a %s