- Created entities & new migration - Added packages symfony/stimulus-bundle & symfony/webpack-encore-bundle
29 lines
814 B
JavaScript
29 lines
814 B
JavaScript
import './bootstrap.js';
|
|
/*
|
|
* Welcome to your app's main JavaScript file!
|
|
*
|
|
* We recommend including the built version of this JavaScript file
|
|
* (and its CSS file) in your base layout (base.html.twig).
|
|
*/
|
|
|
|
// any CSS you import will output into a single css file (app.css in this case)
|
|
import './styles/app.scss';
|
|
|
|
require('fontawesome-free/js/all.js');
|
|
|
|
import * as mdb from 'mdb-ui-kit'; // lib
|
|
import { Input } from 'mdb-ui-kit'; // module
|
|
|
|
const $ = require('jquery');
|
|
// this "modifies" the jquery module: adding behavior to it
|
|
// the bootstrap module doesn't export/return anything
|
|
require('bootstrap');
|
|
|
|
// or you can include specific pieces
|
|
// require('bootstrap/js/dist/tooltip');
|
|
// require('bootstrap/js/dist/popover');
|
|
|
|
$(document).ready(function() {
|
|
$('[data-toggle="popover"]').popover();
|
|
});
|