lmarti17 / front-end-starter

A light front-end starter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Front-End starter

Informations

The directories:

  • sass/
    • views/ (Each part of your sass)
    • app.scss (Import each file in the views directory)
    • reset.scss
  • js/
    • app/ (The js files directoy)
    • dist/ (The compiled js directory in app.js)
    • vendor/ (The libraries you include)
  • stylesheets/ (The compiled scss in app.css)

How to install

  1. Download the repo

  2. Install the dependencies: npm install

  3. Build the app: gulp build

Development | Gulp scripts:

  • Run gulp to watch any changes and auto-compile (nb: It build the project first)

  • Run gulp build to compile one time the project

  • Run gulp sass to compile scss (autoprefixer are added automatically)

  • Run gulp js_app to compile js files from js/app in js/dist/app.js

  • Run gulp js_libs to compile js/vendor libs in js/dist/vendor.js

  • Run gulp buildProd to minimize css and js in stylesheets/app.min.css and js/dist/app.min.js

About

A light front-end starter


Languages

Language:CSS 56.2%Language:JavaScript 22.4%Language:HTML 21.4%