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.
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. |
Slipper handles document sheets for the following
URL | Operation |
---|---|
/returns?key=value |
Creates Rewaxing slip |
{{ line_title }} {{ line_variant }} | x{{ line.quantity }} |