javascript - Electron $(...).selectpicker is not a function -


i need help. i've been stuck problem 2 days.

i'm building application electron (by atom) , use bootstrap-select. when launch app error rises if function in question has not been called yet:

uncaught typeerror: $(...).selectpicker not function 

do know how fix that?

i solved problem. seems using

require('bootstrap-select'); 

to include library doesn't work properly, instead, downloaded bootstrap-select library , imported manually in html file.


Comments

Popular posts from this blog

Retrieving ETA (estimated time of arrival) with Google Distance Matrix API and public transit as transport mode -

javascript - Confirm a form & display message if form is valid with JQuery -

ionic framework - Meteor - Error: Failed to execute 'insertBefore' on 'Node' -