I am trying to load bootstrap.js using browserify, Laravel elixir. I use npm to install the packages. Everything seems good but when i try to load my page is shows "Error: Bootstrap's JavaScript requires jQuery". I have googled lot but didn't find any solution that works. Here is my codes :
resources/assets/js/app.js
import $ from 'jquery';
import Bootstrap from 'bootstrap-sass'
package.json
{
"private": true,
"scripts": {
"prod": "gulp --production",
"dev": "gulp watch"
},
"devDependencies": {
"gulp": "^3.9.1",
"laravel-elixir": "^5.0.0",
"bootstrap-sass": "^3.0.0",
"laravel-elixir-vueify": "^1.0.0"
},
"dependencies": {
"jquery": "^2.2.4"
}
}