laravel-elixir-process-email
This package adds email processing and templating. It uses foundation inky and inline css.
Last updated 3 years ago by gorriecoe .
BSD · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install laravel-elixir-process-email 
SYNC missed versions from official npm registry.

laravel-elixir-process-email

This package adds email processing and templating. It uses foundation inky and inline css.

Install

npm install laravel-elixir-process-email --save-dev

Add plugin to your gulpfile.js

const Elixir = require('laravel-elixir');
    require('laravel-elixir-process-email');

/*-------------------------------------------------------------------
Configuration
-------------------------------------------------------------------*/

// Define the path to the sass file.  This is a direct path and should not include wildcards.
// Its recommended to prefix this with the assetsPath.
Elixir.config.email.assets.sass: Elixir.config.assetsPath + '/emails/scss/email.scss';

// Define the path to the email source files.
// Its recommended to prefix this with the assetsPath.
Elixir.config.email.assets.templates: Elixir.config.assetsPath + '/emails/templates/**/*.blade.php';

// Define the path to the folder containing the compiled email templates.
// Its recommended to prefix this with the publicPath.
Elixir.config.email.public.views: Elixir.config.publicPath + '/templates/emails';

/*-------------------------------------------------------------------
Tasks
-------------------------------------------------------------------*/

Elixir(mix => {
    mix.processEmails();
});

Inky

Process Email uses Inky to help template. Learn more about it at: http://foundation.zurb.com/emails/docs/inky.html

Current Tags

  • 1.0.0                                ...           latest (3 years ago)

3 Versions

  • 1.0.0                                ...           3 years ago
  • 0.1.0                                ...           3 years ago
  • 0.0.1                                ...           3 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 1
Last Month 2
Dependencies (10)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |