1
0
Fork 0
freesewing/sites/dev/docs/reference/plugins
Joost De Cock ab3204f9f1 chore: Port FreeSewing.dev to docusaurus
The replaces the NextJS site powering FreeSewing.dev with a Docusaurus
setup. It's part of my efforts to simplify FreeSewing's setup so we can
focus on our core value proposition.
2024-09-28 13:13:48 +02:00
..
annotations chore: Port FreeSewing.dev to docusaurus 2024-09-28 13:13:48 +02:00
bin-pack chore: Port FreeSewing.dev to docusaurus 2024-09-28 13:13:48 +02:00
bust chore: Port FreeSewing.dev to docusaurus 2024-09-28 13:13:48 +02:00
core chore: Port FreeSewing.dev to docusaurus 2024-09-28 13:13:48 +02:00
flip chore: Port FreeSewing.dev to docusaurus 2024-09-28 13:13:48 +02:00
gore chore: Port FreeSewing.dev to docusaurus 2024-09-28 13:13:48 +02:00
i18n chore: Port FreeSewing.dev to docusaurus 2024-09-28 13:13:48 +02:00
measurements chore: Port FreeSewing.dev to docusaurus 2024-09-28 13:13:48 +02:00
mirror chore: Port FreeSewing.dev to docusaurus 2024-09-28 13:13:48 +02:00
ringsector chore: Port FreeSewing.dev to docusaurus 2024-09-28 13:13:48 +02:00
round chore: Port FreeSewing.dev to docusaurus 2024-09-28 13:13:48 +02:00
sprinkle chore: Port FreeSewing.dev to docusaurus 2024-09-28 13:13:48 +02:00
svgattr chore: Port FreeSewing.dev to docusaurus 2024-09-28 13:13:48 +02:00
theme chore: Port FreeSewing.dev to docusaurus 2024-09-28 13:13:48 +02:00
timing chore: Port FreeSewing.dev to docusaurus 2024-09-28 13:13:48 +02:00
versionfree-svg chore: Port FreeSewing.dev to docusaurus 2024-09-28 13:13:48 +02:00
readme.mdx chore: Port FreeSewing.dev to docusaurus 2024-09-28 13:13:48 +02:00

---
title: Plugins
---

FreeSewing uses a modular approach where functionality can be extended with
plugins. Plugins can provide [snippets](/reference/snippets), 
[macros](/reference/macros), [store methods](/reference/store-methods), or 
use any of the [lifecycle hooks](/reference/hooks).

## Using plugins

Plugins can be either
[added to part configurations](/reference/api/part/config/plugins) in designs or
[added to a pattern instance with Pattern.use()](/reference/api/pattern/use).

To import a plugin for use:
```js
import { plugin } from { @freesewing/plugin-gore }
```

:::tip

For convenience, each plugin is exported as several names exports:

- `plugin`
- `pluginName`
- `namePlugin`

For example, `@freesewing/plugin-gore` has named exports `plugin`, `pluginGore`, and `gorePlugin` that all are the same thing.

:::

## Plugins we maintain

<ReadMore />

## Notes

Refer to [the plugin guide](/guides/plugins) for an in-depth look into
plugins.