Add Boostrap

This commit is contained in:
riggraz
2019-08-19 12:16:17 +02:00
parent 63dca03622
commit 6fe5845ec9
8 changed files with 83 additions and 1 deletions

View File

@@ -1,3 +1,13 @@
const { environment } = require('@rails/webpacker')
const webpack = require('webpack')
environment.plugins.append(
'Provide',
new webpack.ProvidePlugin({
$: 'jquery',
jQuery: 'jquery',
Popper: ['popper.js', 'default']
})
)
module.exports = environment