cmoa / cmoa-sales

Frontend tooling and HTML/CSS/JS for CMOA sales pages and sales widget

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CMOA Sales

Frontend tooling and HTML/CSS/JS for CMOA sales pages and sales widget

Overview

The cart.html, cart-promo.html, and checkout.html pages approximate the shopping cart production environment and are to be used to test CSS and JS, whereas the CMS site templates for the header and footer are the actual code snippets to be copy/pasted to the CMP Sales CMS.

Any updates or changes made here need to be recompiled, and the files in dist/ should be moved to the sales production webserver.

Note, don’t forget to ammend the CSS and JS links in the Header and Footer with the cache-busting content hash!

Go into the html file you want to work in, place ?v=1.2 After .css so it's like this .css?v=1.2 to bust the css cache.


Setup

This project requires node and gulp.

node is available on most platforms and can also be managed with tools like nvm.

If the gulp command-line utility has not been installed globally on your machine, run npm install -g gulp-cli

Finally, run npm install to install project-specific dependencies.

Development

Run npm start to launch a development server with Browsersync. The browser should automatically reload on file changes.

Building

Run npm run build to compile files for production. Bundled files will be created in the local dist/ folder.

About

Frontend tooling and HTML/CSS/JS for CMOA sales pages and sales widget


Languages

Language:HTML 38.2%Language:SCSS 28.2%Language:Sass 24.1%Language:JavaScript 8.6%Language:PHP 0.5%Language:Ruby 0.4%