Answer the question
In order to leave comments, you need to log in
Are there online services for compiling bootstrap 4 or how to quickly build your own bootstrap?
I downloaded the bootstrap 4.6.0 source and set up my set of components in order to compile the project.
But there is no way to install all the dependencies for compilation (node gulp, etc.).
Maybe there are some online ways to compile a bootstrap project?
Or who can compile the project?
Many thanks in advance!
Answer the question
In order to leave comments, you need to log in
But there is no way to install all the dependencies for compilation (node gulp, etc.).
npm init
package.json
npm install [email protected]
bootstrap.scss
variables.scss
@import './variables'; // наш локальный файл с переменными
@import '~/bootstrap/scss/bootstrap.scss'; // сам фреймворк
// ну и другие файлы при необходимости
npm install -D laravel-mix cross-env
webpack.mix.js
fairly simple content:const mix = require('laravel-mix');
mix.sass('bootstrap.scss', 'css/');
"scripts": {
"production": "cross-env NODE_ENV=production node_modules/webpack/bin/webpack.js --progress --config=node_modules/laravel-mix/setup/webpack.config.js"
},
npm run production
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question