This extension uses gulp-hologram which in turn uses the Trulia Hologram ruby gem.
npm install laravel-elixir-hologram --save-dev
var elixir = require('laravel-elixir');
require('laravel-elixir-hologram');
elixir(function(mix) {
mix.hologram();
});
This will use the default yml file settings as defined by this extension and scan your resources/assets/scss
directory for all scss files. Instead, if you want to user your own settings, you may create a hologram.yml
file at the root of your project and do:
var elixir = require('laravel-elixir');
require('laravel-elixir-hologram');
elixir(function(mix) {
mix.hologram('hologram.yml');
});
- source: ../../resources/assets/scss
- destination: ../../public/styleguide
- documentation_assets: ../../resources/assets/hologram
- nav_level: all
- exit_on_warnings: false
To learn more about Hologram visit trulia/hologram.