This Laravel Elixir extension allows you to render Nunjucks.
npm install laravel-elixir-nunjucks
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')