Skip to content
This repository has been archived by the owner on Dec 5, 2020. It is now read-only.

mrcsmcln/laravel-elixir-nunjucks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Laravel Elixir Nunjucks

This Laravel Elixir extension allows you to render Nunjucks.

Installation

npm install laravel-elixir-nunjucks

Usage

Assuming you write...

elixir(function(mix) {
    mix.nunjucks('public');
});

...this will render your resources/assets/nunjucks/public folder to public.

If you'd like to set a different output directory, you may pass a second argument to the nunjucks() method, like so:

mix.nunjucks('public', 'resources/views')

About

Elixir wrapper around Nunjucks.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published