meteor beginner here.
I have a local package (a personal variation of lukemadera:image-picker) in my meteor folder under
packages\my-package
I'd like to use bootstrap styling within that package (specifically: apply the bs-grid to the content) - how do I do this most easily?
I integrated the package using api.use('twbs:bootstrap'), and added it with meteor add twbs:bootstrap. However, somehow the bootstrap styles are not applied to my (partly dynamically added) content.
Do I need to import it somewhere else so that I can use the different style classes?
You have 2 ways to do this;
You need to go to location
your_project_folder/.meteor/packagesfile you need to add linetwbs:bootstrapand start meteor server with the commandmeteor, if the server was up, will auto-detect changes to thepackagesfile and import the stuff for you.stop the server using
CTRL + C2 times, then run commandmeteor add twbs:bootstrapand then start server.By this, you can do everything that is possible in bootstrap.