gulp-strapr
strapr plugin for gulp
Usage
First, install gulp-strapr
as a development dependency:
npm install --save-dev gulp-strapr
Then, add it to your gulpfile.js
:
var strapr = ; gulp ;
strapr(attrs)
host
Type: String
Default: http://localhost:5000
The address of the server running strapr
headTemplateSrc
Type: String
Default: ./sample/layout.html
path to folder containg your layout template.
used to inject stylesheet link and script src.
headTemplateDest
Type: String
Default: ./public/templates/layout.html
Path to folder where finished layout template should be written
stylesheetDest
Type: String
Default: ./sample/app/css
Path to folder where finished stylesheet should be written
stylesheetIncludeUrl
Type: String
Default: /css/stylesheet.css
Url to use in stylesheet include
javascriptDest
Type: String
Default: ./sample/app/js
Path to folder where finished javascript should be written
javascriptIncludeUrl
Type: String
Default: /js/javascript.js
Url to use in script src