Skip to content

loopify/loopify-email-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Loopify Email Document

Setup

Install Node:

Example for mac OS X:

$ brew install node

Install Yarn:

Example for mac OS X:

$ brew install node

Set yarn scoped registry for Loopify packages:

$ yarn config set @loopify-jfrog-public:registry https://loopify.jfrog.io/artifactory/api/npm/npm-local-public/

Install node dependencies:

$ yarn install

Documentation

Documentation on the Loopify document format can be found here.

Building

$ node ./node_modules/gulp/bin/gulp.js build

Serve and watch files while developing

(Auto-build on file changes)

$ node ./node_modules/gulp/bin/gulp.js serve

You can also preview your template in the editors inside the Loopify web app. When running serve you will get a random tunnel URL. It might look like this: https://lnapkgyckb.localtunnel.me.

Go to stage.loopify.com and log in to any of your accounts.

Load your local template into the template editor by entering this URL: https://stage.loopify.com/#/[ACCOUNT_ID]/e-mail/templates/local-template/edit?url=https://lnapkgyckb.localtunnel.me/document.json

Load your local template into the campaign editor by entering this URL: https://stage.loopify.com/#/[ACCOUNT_ID]/e-mail/local-template/edit?url=https://lnapkgyckb.localtunnel.me/document.json

If you are also serving the web app from localhost, you can speed things up by also loading the template from localhost: http://localhost:1337/#/[ACCOUNT_ID]/e-mail/local-template/edit?url=http://localhost:1338/document.json

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •