Did you add Tether? See this issue.
Also make sure you check the console for errors.
Hello,
I installed a new Laravel application with bootsrap 4 alpha5. Anyone had an issue? When adding the example Vue component on the home page it does not appear. VueJS seems not loading at all. If I comment the line "require('bootstrap');" in resources/assets/js/bootsrap.js the example component is rendered but then of course the toggle menu is not working...
Package.json file
{
"private": true,
"scripts": {
"prod": "gulp --production",
"dev": "gulp watch"
},
"devDependencies": {
"gulp": "^3.9.1",
"bootstrap": "^4.0.0-alpha.5",
"jquery": "^3.1.0",
"laravel-elixir": "^6.0.0-11",
"laravel-elixir-vue-2": "^0.2.0",
"laravel-elixir-webpack-official": "^1.0.2",
"lodash": "^4.16.2",
"vue": "^2.0.1",
"vue-resource": "^1.0.3"
},
"dependencies": {
}
}
bootstrap.js line 11
require('bootstrap');
I didn't changed anything in the gulpfile. It compiles without errors.
const elixir = require('laravel-elixir');
require('laravel-elixir-vue-2');
elixir((mix) => {
mix.sass('app.scss')
.webpack('app.js');
});
Thanks
Did you add Tether? See this issue.
Also make sure you check the console for errors.
Please or to participate in this conversation.