ok add bootstrap dependencies

This commit is contained in:
Kayn Ty 2018-05-08 13:24:02 +02:00
parent b4d819dd22
commit 3c9f8d9f7e
3 changed files with 19 additions and 5 deletions

View File

@ -1,3 +1,16 @@
var $ = require('jquery');
// JS is equivalent to the normal "bootstrap" package
// no need to set this to a variable, just require it
require('bootstrap-sass');
// or you can include specific pieces
// require('bootstrap-sass/javascripts/bootstrap/tooltip');
// require('bootstrap-sass/javascripts/bootstrap/popover');
$(document).ready(function () {
$('[data-toggle="popover"]').popover();
});
console.log('hello console for main.js'); console.log('hello console for main.js');
var stuff = ['initialstuff']; var stuff = ['initialstuff'];
angular angular

View File

@ -21,11 +21,12 @@ Encore
// empty the outputPath dir before each build // empty the outputPath dir before each build
.cleanupOutputBeforeBuild() .cleanupOutputBeforeBuild()
// show OS notifications when builds finish/fail // .addEntry('')
// .enableBuildNotifications() // show OS notifications when builds finish/fail
.enableBuildNotifications()
// create hashed filenames (e.g. app.abc123.css) // create hashed filenames (e.g. app.abc123.css)
// .enableVersioning() .enableVersioning()
; ;
// export the final configuration // export the final configuration

View File

@ -2128,7 +2128,7 @@ flatten@^1.0.2:
version "1.0.2" version "1.0.2"
resolved "https://registry.yarnpkg.com/flatten/-/flatten-1.0.2.tgz#dae46a9d78fbe25292258cc1e780a41d95c03782" resolved "https://registry.yarnpkg.com/flatten/-/flatten-1.0.2.tgz#dae46a9d78fbe25292258cc1e780a41d95c03782"
font-awesome@^5: font-awesome@^4.7.0:
version "4.7.0" version "4.7.0"
resolved "https://registry.yarnpkg.com/font-awesome/-/font-awesome-4.7.0.tgz#8fa8cf0411a1a31afd07b06d2902bb9fc815a133" resolved "https://registry.yarnpkg.com/font-awesome/-/font-awesome-4.7.0.tgz#8fa8cf0411a1a31afd07b06d2902bb9fc815a133"