app.js 795 B

12345678910111213141516171819202122232425
  1. import $ from 'jquery';
  2. global.$ = $;
  3. import './styles/app.scss';
  4. import 'bootstrap';
  5. import './bootstrap';
  6. import 'font-awesome/css/font-awesome.css';
  7. import 'bootstrap-star-rating';
  8. import 'bootstrap-star-rating/locales/fr'
  9. import 'bootstrap-star-rating/js/locales/fr'
  10. import 'bootstrap-star-rating/css/star-rating.css';
  11. import 'bootstrap-star-rating/themes/krajee-fa/theme';
  12. import 'bootstrap-star-rating/themes/krajee-fa/theme.css';
  13. import './js/filtre';
  14. import './js/colorModeBootstrap'
  15. import { switchView } from './js/switchViewVanilla';
  16. import { switchEtat } from './js/switchEtat';
  17. import './js/addCollectionVanilla'
  18. const sv = switchView("#switchview");
  19. const se = switchEtat ('[data-fonction="switch"]');
  20. jQuery(function() {
  21. $('[data-toggle="star-filter"]').filtreParNote();
  22. })