Skip to content
Permalink
Browse files

Migrated to Bootstrap 4.

  • Loading branch information...
marcomontalbano committed Apr 13, 2019
1 parent 2288f41 commit ff5c2b7d74d6d5e2ecea0a027878c0c8c777ebd1
Showing with 1,134 additions and 683 deletions.
  1. +1 −0 .gitignore
  2. +10 −6 Gruntfile.js
  3. +1 −1 README.md
  4. +1,062 −619 package-lock.json
  5. +12 −10 package.json
  6. +8 −8 public/index.html
  7. +2 −1 src/javascripts/application.js
  8. +0 −38 src/stylesheets/application.less
  9. +38 −0 src/stylesheets/application.scss
@@ -4,4 +4,5 @@
/node_modules

/public/application.min.css
/public/application.min.css.map
/public/application.min.js
@@ -1,14 +1,18 @@
var sass = require('node-sass');

module.exports = function(grunt)
{

grunt.initConfig({
less: {
sass: {
development: {
options: {
implementation: sass,
compress: true,
sourceMap: true
},
files: {
'public/application.min.css': 'src/stylesheets/application.less'
'public/application.min.css': 'src/stylesheets/application.scss'
}
}
},
@@ -26,8 +30,8 @@ module.exports = function(grunt)
},
watch: {
css: {
files: ['src/**/*.less'],
tasks: ['less'],
files: ['src/**/*.scss'],
tasks: ['sass'],
},
js: {
files: ['src/**/*.js'],
@@ -36,11 +40,11 @@ module.exports = function(grunt)
},
});

grunt.loadNpmTasks('grunt-contrib-less');
grunt.loadNpmTasks('grunt-sass');
grunt.loadNpmTasks('grunt-contrib-uglify');
grunt.loadNpmTasks('grunt-contrib-watch');

grunt.registerTask('build', ['less', 'uglify']);
grunt.registerTask('build', ['sass', 'uglify']);
grunt.registerTask('default', ['build', 'watch']);

};
@@ -16,4 +16,4 @@ The course covers:

All slides have been prepared and used by me while teaching a course on Frontend basics and are available on speakerdeck.

[https://speakerdeck.com/marcomontalbano/an-introduction-to-frontend-for-beginners-2018-edition](https://speakerdeck.com/marcomontalbano/an-introduction-to-frontend-for-beginners-2018-edition?id=d11566e93e004b138845e4985c332721&ratio=1.77777777777778)
[https://speakerdeck.com/marcomontalbano/an-introduction-to-frontend-for-beginners-2019-edition](https://speakerdeck.com/marcomontalbano/an-introduction-to-frontend-for-beginners-2019-edition?id=d11566e93e004b138845e4985c332721&ratio=1.77777777777778)
Oops, something went wrong.

0 comments on commit ff5c2b7

Please sign in to comment.
You can’t perform that action at this time.