Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

lacaravanecoop/feuilledechou

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

La Feuille de chou.

Email template for lacaravanecoop newsletter, "La feuille de chou" ; integrated upon mjml templating engine.

Requirements :

Includes :

  • MJML to HTML generation
  • images optimisation

Installation :

Get the repo

$ git@github.com:lacaravanecoop/feuilledechou.git ./feuilledechoux

Install dependencies

$ npm install

Tasks

All the tasks works the same. Files from "src" folder are processed and generated in the dest directory.

Build

Standalone build

$ npm run build

Watch

Build as any "src" files are modificated

$ npm run watch

Workspace

-
|--cli
|--|--imagemin.js     # Imagemin task for image optimisation
|
|--dest               # Destination folder after build run (not to be edited)
|--|--assets          # Assets destination folder (images)
|--|--index.html      # Generated HTML mail file
|
|--src                # Source folder
|--|--assets 
|--|--|--images       # Image sources
|--|  
|--|--parts           # External MJML files
|--|--|--content      # External MJML files dedicated to contents
|--|--|--structure    # External MJML files dedicated to email structure
|--|
|--|--index.mjml      # Main MJML file
|
|--.gitignore         # All git ignored file on the project
|--.nvmrc             # Node Version environnement file on the project
|--package.json       # Project infos and dependencies
|--package-lock.json  # Project dependencies structure
|--README.medium      # The file You read actually
-

Next steps

tests, tests and retests

Kisses and love, anvy questions or suggestions are welcome.

About

Feuille de chou

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Morty Proxy This is a proxified and sanitized view of the page, visit original site.