2021-10-17 18:26:00 +02:00
|
|
|
---
|
2021-12-27 17:33:49 +01:00
|
|
|
title: "@freesewing/plugin-bundle"
|
2021-10-17 18:26:00 +02:00
|
|
|
---
|
2021-08-25 16:09:31 +02:00
|
|
|
|
2021-12-27 17:33:49 +01:00
|
|
|
The **@freesewing/plugin-bundle** plugin bundles the most common FreeSewing build-time plugins:
|
2021-08-25 16:09:31 +02:00
|
|
|
|
2022-07-27 14:38:18 -07:00
|
|
|
- [plugin-banner](/reference/plugins/banner) : Add repeating text to your patterns
|
|
|
|
- [plugin-bartack](/reference/plugins/bartack) : Add bartacks to your patterns
|
|
|
|
- [plugin-buttons](/reference/plugins/buttons) : Add buttons, buttonholes, and snaps to your patterns
|
2022-02-20 14:44:38 +01:00
|
|
|
- [plugin-cutonfold](/reference/plugins/cutonfold) : Add cut-on-fold indicators to your patterns
|
|
|
|
- [plugin-dimension](/reference/plugins/dimension) : Add dimensions to your (paperless) patterns
|
|
|
|
- [plugin-grainline](/reference/plugins/grainline) : Add grainline indicators to your patterns
|
2022-07-27 14:38:18 -07:00
|
|
|
- [plugin-logo](/reference/plugins/logo) : Add a FreeSewing logo to your patterns
|
|
|
|
- [plugin-measurements](/reference/plugins/measurements) : Make extra, calculated measurements available to your patterns
|
|
|
|
- [plugin-mirror](/reference/plugins/mirror) : Mirror points and paths in your patterns
|
|
|
|
- [plugin-notches](/reference/plugins/notches) : Add notches to your patterns
|
|
|
|
- [plugin-scalebox](/reference/plugins/scalebox) : Add scaleboxes to your pattern parts
|
|
|
|
- [plugin-round](/reference/plugins/round) : Create rounded corners in your patterns
|
|
|
|
- [plugin-sprinkle](/reference/plugins/sprinkle) : Add multiple snippets to your patterns
|
2022-02-20 14:44:38 +01:00
|
|
|
- [plugin-title](/reference/plugins/title) : Add pretty titles to your pattern parts
|
2021-08-25 16:09:31 +02:00
|
|
|
|
|
|
|
Almost all patterns use these plugins, so it made sense to bundle them.
|
|
|
|
|
|
|
|
## Installation
|
|
|
|
|
|
|
|
```bash
|
|
|
|
npm install @freesewing/plugin-bundle
|
|
|
|
```
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
2021-12-27 17:33:49 +01:00
|
|
|
Like all [build-time plugins](/guides/plugins/types-of-plugins#build-time-plugins), you
|
|
|
|
load them by passing them to the [freesewing.Design](/reference/api/design) super-constructor:
|
2021-08-25 16:09:31 +02:00
|
|
|
|
|
|
|
```js
|
|
|
|
import freesewing from "@freesewing/core";
|
|
|
|
import plugins from "@freesewing/plugin-bundle";
|
|
|
|
import config from "../config";
|
|
|
|
|
|
|
|
const Pattern = new freesewing.Design(config, plugins);
|
|
|
|
```
|