javascript - Bootstrap 3.1.1: I can't import all the bootstrap .js files, how is "= require" supposed to work? -


i using latest bootstrap v3.1.1 sass.

within .zip file, lib, tasks, templates, test , vendor.

i ignored , use vendor > assets folder. assets folder has fonts, stylesheets , javascripts need.

i have gotten file structure setup properly. when trying import .js files javascript folder, having bit of problem.

unlike bootstrap.scss file comes along. can uncomment _.scss file need , work.

within bootstrap.js file, contains syntax haven't seen before. after bit of google, says 'require' nodejs syntax.

enter image description here

i uncommented few , try see if work. fails. .js file got above screenshot. doesn't concatenate modal.js, tooltip.js , popover.js. did abit of google, says need have requirejs?


Comments

Popular posts from this blog

php - render data via PDO::FETCH_FUNC vs loop -

c++ - OpenCV Error: Assertion failed <scn == 3 ::scn == 4> in unknown function, -

The canvas has been tainted by cross-origin data in chrome only -