Skip to content
This repository was archived by the owner on Feb 23, 2018. It is now read-only.

Dev build

Julian Motz edited this page Feb 18, 2016 · 1 revision

Behind the scenes

In the background, a folder /build will be created. It will contain a subfolder css with your compiled app.css inside.

Livereload

If you have not disabled livereload (--livereload=false), jmBoilerplate will track any changes in your application and re-compile on file changes. Cool, isn't it?

Sprite generation

jmBoilerplate allows you to generate sprites. To use this feature, store your PNG sprite images inside src/assets/images/sprites/. Store a *@2x.png alternative in this folder to allow retina sprite generation.

You can use generated sprites in SCSS with e.g.:

.myElement{
    @include retina-sprite($my-icon);
}

Have a look at _sprites.scss inside src/styles for detailed usage information about sprites after running your first build.

Clone this wiki locally