latitudehopper latitudehopper - 1 year ago 138
Node.js Question

Bower to Sails - What have I missed?

I have been struggling with this and would appreciate any help you can offer.
I have a fresh install of sails and have configured it to use handlebars. It lift beautifully.

I have installed bower using

npm i sails-generate-bower

After a quick

bower install bootstrap --save

I can see that it has generated the core bootstrap files in

/bower_components //the root of my project

What do I do now to ensure that upon lift I have the Bootstrap files in the correct places?

Answer Source

Their are many ways to do this.

You either configure your asset pipeline config/tasks/pipeline.js or HERE a similar question and valid answer.


Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download