Skip to content

Commit

Permalink
Migrated to Bootstrap 4.
Browse files Browse the repository at this point in the history
  • Loading branch information
marcomontalbano committed Apr 13, 2019
1 parent 2288f41 commit 1669a3b
Show file tree
Hide file tree
Showing 9 changed files with 1,146 additions and 695 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -4,4 +4,5 @@
/node_modules /node_modules


/public/application.min.css /public/application.min.css
/public/application.min.css.map
/public/application.min.js /public/application.min.js
16 changes: 10 additions & 6 deletions Gruntfile.js
@@ -1,14 +1,18 @@
var sass = require('node-sass');

module.exports = function(grunt) module.exports = function(grunt)
{ {


grunt.initConfig({ grunt.initConfig({
less: { sass: {
development: { development: {
options: { options: {
implementation: sass,
compress: true, compress: true,
sourceMap: true
}, },
files: { files: {
'public/application.min.css': 'src/stylesheets/application.less' 'public/application.min.css': 'src/stylesheets/application.scss'
} }
} }
}, },
Expand All @@ -26,8 +30,8 @@ module.exports = function(grunt)
}, },
watch: { watch: {
css: { css: {
files: ['src/**/*.less'], files: ['src/**/*.scss'],
tasks: ['less'], tasks: ['sass'],
}, },
js: { js: {
files: ['src/**/*.js'], files: ['src/**/*.js'],
Expand All @@ -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-uglify');
grunt.loadNpmTasks('grunt-contrib-watch'); grunt.loadNpmTasks('grunt-contrib-watch');


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


}; };
14 changes: 7 additions & 7 deletions README.md
@@ -1,19 +1,19 @@
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: The course covers:


- HTML, CSS and Javascript basics - HTML, CSS and Javascript basics
- DOM manipulation with [Vanilla JS](http://vanilla-js.com/) and [jQuery](https://jquery.com/) - DOM manipulation with [Vanilla JS](http://vanilla-js.com/) and [jQuery](https://jquery.com/)
- Quickly prototyping (e.g. [Twitter Bootstrap](http://getbootstrap.com/)) - Quickly prototyping (e.g. [Twitter Bootstrap](https://getbootstrap.com/))
- Dependency management with [NPM](https://www.npmjs.com/) - Dependency management with [NPM](https://www.npmjs.com/)
- Task runner (e.g. [Grunt](https://gruntjs.com/)) - Task runner (e.g. [Grunt](https://gruntjs.com/))
- CSS preprocessor (e.g. [Less](http://lesscss.org/)) - CSS preprocessor (e.g. [Scss](https://sass-lang.com/))


[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. 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)

0 comments on commit 1669a3b

Please sign in to comment.