Bootstrap for static site with gulp + pug + stylus + uglify + image optimization
|-- project
| |-- _includes <-- Include files - https://pugjs.org/language/includes.html
| | |-- footer.pug
| | |-- navbar.pug
| |-- _layouts <-- Layout files - https://pugjs.org/language/extends.html
| | |-- default.pug
| |-- _mixins <-- Mixin files - https://pugjs.org/language/mixins.html
| |-- _site <-- Your pug files to site
| | |-- contact
| | | |-- index.pug
| | |-- features
| | | |-- index.pug
| | |-- index.pug
| |-- assets
| | |-- images
| | | |-- example.png
| | |-- javascripts
| | | |-- example.js
| | |-- stylesheets
| | | |-- example.css
| |-- dist <-- Folder with compiled files
| |-- .editorconfig <-- Indentation styles - http://editorconfig.org
| |-- .gitignore
| |-- gulpfile.js
| |-- package.json
The quickest way to get started with quickness is to utilize the executable quickness(1)
to generate an application as shown below:
Create the app:
$ npm install -g quickness
$ quickness foo && cd foo
Install dependencies:
$ npm install
or
$ yarn
Development:
$ npm start
Compile files:
$ npm run deploy
or
$ gulp dist