Removing Bootstrap

842 views
Skip to first unread message

Cas du Plessis

unread,
Apr 10, 2014, 7:15:09 AM4/10/14
to mea...@googlegroups.com
I would like to remove Twitter Bootstrap, and replace this with Zurb Foundation. Can I just remove the bootstrap stylesheet, and exclude the Angular Bootstrap modules? Or, is there anything else I need to do (besides changing the class names in the markup)?

Alex Suttmiller

unread,
Apr 10, 2014, 8:27:02 AM4/10/14
to
I tested this in a local git branch. 

UPDATE: Looks like packages/libs are excluded from the git config. So if you do this, you'll need to return to your original branch and run> bower install to restore the bootstrap css

Remove the dependency to bootstrap from your bower.json file.
Then run> bower uninstall bootstrap

This should clear it up. Last thing I think you would need to do is remove the include from your app template html file. Bower may support Zurb, I didn't look. See if you can add the dependency to your bower.json and run> bower install

(PS. I'm new to meanjs, but that's how I would approach this scenario.)

Amos Haviv

unread,
Apr 10, 2014, 12:40:35 PM4/10/14
to mea...@googlegroups.com
Hi Cas,

It seems that bower does have a foundation package: http://bower.io/search/?q=zurb, just replace bootstrap in the bower.json file and run bower update, then add the zurb files to the app/views/layout.html file. that should work for you, but don't forget that most of the html is based on bootstrap's stylesheet, so you have to make some changes in the core to adjust it to zurb.

cheers,
amos  
Reply all
Reply to author
Forward
0 new messages