Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- GULP-BOWER
- 1- Inicializar node
- npm init
- 2- Instalar gulp, gulp-bower, and gulp-sass:
- npm install --save-dev gulp gulp-bower gulp-sass
- 3- Inicializar Bower
- bower init
- 4- Now let’s install bootstrap-sass with Bower.
- bower install --save bootstrap-sass
- 5- Now we can make an SCSS file that includes bootstrap into our project. Let’s call our SCSS file src/scss/app.scss:
- Crear un archivo src/scss/app.scss con el siguiente contenido:
- @import "bootstrap";
- @import "bootstrap/theme";
- 6- Now let’s use gulp to compile our src/scss/app.scss which includes Bootstrap SASS:
- Crear un archivo gulpfile.js con el siguiente contenido:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement