Skip to content

Latest commit

 

History

History
52 lines (41 loc) · 1.73 KB

readme.md

File metadata and controls

52 lines (41 loc) · 1.73 KB

Slipper 👟

A document generator for Brixtol Textiles. Slipper generates document sheets that can be printed by parsing query parameters from the window location.

Slipper is for internal use.

Installation

All dependencies are included with the package.json file. There are 3 CLI commands.

Command Operation
pnpm dev Rollup watch development mode
pnpm serve Starts Netlify localhost
pnpm serve:live Starts Netlify https
pnpm strip Minifies the Liquid return slip URL
pnpm build Builds into dist for production
pnpm upload Pushes the dist directory to the gh-pages branch.

Documents

Slipper handles document sheets for the following

URL Operation
/returns?key=value Creates Rewaxing slip

Stylesheet

{{ line_title }} {{ line_variant }} x{{ line.quantity }}