Skip to content
Permalink
Browse files

Migrated to Bootstrap 4.

  • Loading branch information...
marcomontalbano committed Apr 13, 2019
1 parent 2288f41 commit 4ec67ab1247278004915e8eb403e83186b154b6a
Showing with 1,144 additions and 693 deletions.
  1. +1 −0 .gitignore
  2. +10 −6 Gruntfile.js
  3. +5 −5 README.md
  4. +1,061 −618 package-lock.json
  5. +16 −14 package.json
  6. +9 −9 public/index.html
  7. +4 −3 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']);

};
@@ -1,7 +1,7 @@
An introduction to Frontend for beginners
=========================================
An introduction to Frontend
===========================

Welcome to **An introduction to Frontend for beginners**.
Welcome to **An introduction to Frontend**.

The course covers:

@@ -12,8 +12,8 @@ The course covers:
- Task runner (e.g. [Grunt](https://gruntjs.com/))
- CSS preprocessor (e.g. [Less](http://lesscss.org/))

[Here](https://marcomontalbano.github.io/an-introduction-to-frontend-for-beginners) you can find what my course aims to create.
[Here](https://marcomontalbano.github.io/an-introduction-to-frontend) you can find what my course aims to create.

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-2019-edition](https://speakerdeck.com/marcomontalbano/an-introduction-to-frontend-2019-edition?id=d11566e93e004b138845e4985c332721&ratio=1.77777777777778)
Oops, something went wrong.

0 comments on commit 4ec67ab

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