
This is a flat (without history) import of (some of) the content from our markdown module. We've imported this without history because the repo contains our blog posts and showcases posts content prior to porting them to strapi. Since this contains many images, it would balloon the size of this repo to import the full history. Instead, please refer to the history of the (archived) markdown repo at: https://github.com/freesewing/markdown
1.9 KiB
1.9 KiB
title |
---|
bundle |
The bundle plugin bundles the most common FreeSewing build-time plugins:
- plugin-cutonfold : Add cut-on-fold indicators to your patterns
- plugin-dimension : Add dimensions to your (paperless) patterns
- plugin-grainline : Add grainline indicators to your patterns
- plugin-logo : Add a scalebox to your patterns
- plugin-scalebox : Add pretty titles to your pattern parts
- plugin-title : Add pretty titles to your pattern parts
- plugin-round : Rounds corners
- plugin-sprinkle : Add multiple snippets to your pattern
Almost all patterns use these plugins, so it made sense to bundle them.
Installation
npm install @freesewing/plugin-bundle
Usage
Like all build-time plugins, you load them
by passing them to the freesewing.Design
constructor:
import freesewing from "@freesewing/core";
import plugins from "@freesewing/plugin-bundle";
import config from "../config";
const Pattern = new freesewing.Design(config, plugins);