mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
webpack, add new entrypoint for bootstrap
This commit is contained in:
parent
3182c3607c
commit
18fec8c491
@ -29,7 +29,7 @@ require('./css/pikaday.css');
|
|||||||
|
|
||||||
require('./js/collection/collections.js');
|
require('./js/collection/collections.js');
|
||||||
|
|
||||||
// in node-modules
|
// from node-modules
|
||||||
require('select2/dist/css/select2.css');
|
require('select2/dist/css/select2.css');
|
||||||
|
|
||||||
require('./modules/breadcrumb/index.js');
|
require('./modules/breadcrumb/index.js');
|
||||||
|
@ -0,0 +1,42 @@
|
|||||||
|
/*
|
||||||
|
* when bootstrap.css comes after chill.css
|
||||||
|
* we have to disable conflict classes
|
||||||
|
*/
|
||||||
|
|
||||||
|
@import "bootstrap/scss/functions";
|
||||||
|
@import "bootstrap/scss/variables";
|
||||||
|
@import "bootstrap/scss/mixins";
|
||||||
|
@import "bootstrap/scss/root";
|
||||||
|
//@import "bootstrap/scss/reboot"; // h1, h2, h3, ...
|
||||||
|
//@import "bootstrap/scss/type"; // h1, h2, h3, ...
|
||||||
|
@import "bootstrap/scss/images";
|
||||||
|
@import "bootstrap/scss/code";
|
||||||
|
//@import "bootstrap/scss/grid"; // container
|
||||||
|
@import "bootstrap/scss/tables";
|
||||||
|
@import "bootstrap/scss/forms";
|
||||||
|
@import "bootstrap/scss/buttons";
|
||||||
|
@import "bootstrap/scss/transitions";
|
||||||
|
@import "bootstrap/scss/dropdown";
|
||||||
|
@import "bootstrap/scss/button-group";
|
||||||
|
@import "bootstrap/scss/input-group";
|
||||||
|
@import "bootstrap/scss/custom-forms";
|
||||||
|
@import "bootstrap/scss/nav";
|
||||||
|
@import "bootstrap/scss/navbar";
|
||||||
|
@import "bootstrap/scss/card";
|
||||||
|
@import "bootstrap/scss/breadcrumb";
|
||||||
|
@import "bootstrap/scss/pagination";
|
||||||
|
@import "bootstrap/scss/badge";
|
||||||
|
@import "bootstrap/scss/jumbotron";
|
||||||
|
@import "bootstrap/scss/alert";
|
||||||
|
@import "bootstrap/scss/progress";
|
||||||
|
@import "bootstrap/scss/media";
|
||||||
|
@import "bootstrap/scss/list-group";
|
||||||
|
@import "bootstrap/scss/close";
|
||||||
|
@import "bootstrap/scss/toasts";
|
||||||
|
@import "bootstrap/scss/modal";
|
||||||
|
@import "bootstrap/scss/tooltip";
|
||||||
|
@import "bootstrap/scss/popover";
|
||||||
|
@import "bootstrap/scss/carousel";
|
||||||
|
@import "bootstrap/scss/spinners";
|
||||||
|
@import "bootstrap/scss/utilities";
|
||||||
|
@import "bootstrap/scss/print";
|
@ -0,0 +1,9 @@
|
|||||||
|
// Compile all bootstrap assets from nodes-modules
|
||||||
|
//require('bootstrap/scss/bootstrap.scss')
|
||||||
|
|
||||||
|
// Compile custom styles to adapt bootstrap in chill context
|
||||||
|
require('./custom.scss')
|
||||||
|
|
||||||
|
// You can specify which plugins you need
|
||||||
|
//import { Tooltip, Toast, Popover } from 'bootstrap';
|
||||||
|
//import Alert from 'bootstrap/js/dist/alert';
|
@ -1,2 +1,2 @@
|
|||||||
// Compile all Fork-Awesome fonts assets
|
// Compile all Fork-Awesome fonts assets from node-modules
|
||||||
require('fork-awesome/scss/fork-awesome.scss');
|
require('fork-awesome/scss/fork-awesome.scss');
|
||||||
|
@ -10,6 +10,7 @@ module.exports = function(encore, entries)
|
|||||||
.addEntry('tabs', __dirname + '/Resources/public/modules/tabs/index.js')
|
.addEntry('tabs', __dirname + '/Resources/public/modules/tabs/index.js')
|
||||||
|
|
||||||
// chill2 assets
|
// chill2 assets
|
||||||
|
.addEntry('bootstrap', __dirname + '/Resources/public/modules/bootstrap/index.js')
|
||||||
.addEntry('forkawesome', __dirname + '/Resources/public/modules/forkawesome/index.js')
|
.addEntry('forkawesome', __dirname + '/Resources/public/modules/forkawesome/index.js')
|
||||||
|
|
||||||
// Alias are used by Webpack when trying to resolve modules
|
// Alias are used by Webpack when trying to resolve modules
|
||||||
|
Loading…
x
Reference in New Issue
Block a user