Skip to content

Latest commit

 

History

History
32 lines (32 loc) · 973 Bytes

README.md

File metadata and controls

32 lines (32 loc) · 973 Bytes

The SSJS Framework

Framework that creates a sfmc compatible script from modern Javascript.

Features

  • importing dependencies for node_modules (if ssjs compatible) and local files.
  • polyfills
    • array functions (map, reduce, forEach)
    • Object functions (keys)
  • modern JS syntax
  • environment variables
  • ampScriptLoader
  • htmlLoader
  • TypesScriptLoader

Installation

the recommended way to install is by using the yeoman-generator:

npm install --global yo
npm install --global generator-ssjs

Quickstart

After Installation you can create a new ssjs project:

yo ssjs
cd <ssjs-project>
npm install
npm run build
  • Log into Marketing Cloud
  • Create a new Landingpage
  • Copy the content of dist/index.html to the landing page
  • publish the Landing page

Documentation

Checkout the official documentation at https://adessose.github.io/ssjs-webpack/