aka X-Static
Brunch skeleton to create static HTML prototypes via Jade, Sass, jQuery and Bootstrap 4. All served up by the brilliant Browsersync.
- Install (if you don't have them)
- Create a new project (using this skeleton)
$ brunch new gh:cappadona/brunch-with-foo [optional-output-dir]
cd
to new project
- Run
$ npm start
— serve the project via Browsersync$ brunch build --production
— builds minified project for production
- Learn
public/
dir is fully auto-generated and is the webroot served by Browsersync- Write your code in
app/
dir - Jade templates should use
.static.jade
extension and be placed directly inapp/
- More config options available; see jade-brunch-static
- Place static files in
app/assets/
that you want to be copied topublic/
- Read the Docs!