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

How to understand 2 main() functions after using uftrace to profile the C++ program? -

c# - Update a combobox from a presenter (MVP) -

How to put a lock and transaction on table using spring 4 or above using jdbcTemplate and annotations like @Transactional? -