Skip to content

devinfd/laravel-elixir-hologram

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Laravel Elixir Hologram Extension

This extension uses gulp-hologram which in turn uses the Trulia Hologram ruby gem.

Install

npm install laravel-elixir-hologram --save-dev

Usage

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');
});

laravel-elixir-hologram default settings

  • source: ../../resources/assets/scss
  • destination: ../../public/styleguide
  • documentation_assets: ../../resources/assets/hologram
  • nav_level: all
  • exit_on_warnings: false

Hologram — Style Documentation Build System

To learn more about Hologram visit trulia/hologram.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published