Skip to content
This repository has been archived by the owner on Aug 9, 2020. It is now read-only.
/ project-skeleton Public archive

My personal Skeleton for Front-end Design using Node.js, Grunt, Sass and BrowserSync

License

Notifications You must be signed in to change notification settings

en3sis/project-skeleton

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hello there!

alt text

This is my personal skeleton that I use when I start a new project. I use it mostly for Front-end Web Design making use of SASS and Browser Sync to preview the changes on PC, mobile etc.

Feel free to create requests and improve it. Issues / Pull Request

⚙️ Where to start

Make sure you have Node.js installed, Grunt, Ruby and Sass

If you haven't used Grunt before, be sure to check out the Getting Started guide, as it explains how to create a Gruntfile as well as install and use Grunt plugins.

Install all the packages and dependencies
~ npm install

Grunt Tasks

For development:

Run Browser-sync and watch SASS files.

~ grunt
For production:

Use the task

~ grunt dist

This will generate content inside dist/ coping the js and img folders from src/, inline HTML/CSS and Autoprefixer.

Grunt taks

  • grunt-contrib-cssmin
  • grunt-contrib-htmlmin
  • grunt-contrib-sass
  • grunt-contrib-watch
  • grunt-browser-sync

SASS Files

Sass is a preprocessor that adds nested rules, variables, mixins and functions, selector inheritance, and more to CSS. Sass files compile into well-formatted, standard CSS to use in your site or application.

Main SASS File: /sass/style.scss

And other folder structure for components and imports.

UPDATES

  • ✖️ Removed Flexbox Mixin, added Autoprfixer instead for better browser support.
  • ✔️ Added ESLint with Browser, Vanilla JS, ES6 and jQuery.
  • ✔️ Added Bootstrap 4 Grid (Flex, SASS Version).
  • ✔️ Added Grunt Copy, copy src/js and img folder to /dist.

About

My personal Skeleton for Front-end Design using Node.js, Grunt, Sass and BrowserSync

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published