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.
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
Post a Comment