Acksop / starter-html-sass-js-webpack

This is just a starter template for HTML. It uses webpack and npm

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Site with Webpack Boilerplate

Golden rule: Keep It Simple and Straightforward (KISS)

Keep it simple and straightforward but good enough so it can become a large site or application.

Install dependencies

  • Run npm install

Development

Resources

Publish

Run npm run build

Discussions

Rendering high resolution images

This repo uses retina.js to serve high-resolutions images to devices with retina display. It renders two images per image, one x1 and another x2, it means that the work is left for the browser. This method is not recomended for big sites. Instead try to serve the right image from the server.

A good article about this is here:

Retina & Hi-Resolution Displays: The ultimate guide to preparing your websit

Responsive site and media queries usage

The Difference Between Responsive and Adaptive Design

This repo uses media queries within the sass file. The sass way!

How-to / Guidelines

ToDo

Lots to do. But at least it is a start.

About

This is just a starter template for HTML. It uses webpack and npm


Languages

Language:CSS 42.9%Language:HTML 37.1%Language:JavaScript 20.0%