1
0
Fork 0
freesewing/markdown/dev/reference/api/config/parts/en.md

31 lines
591 B
Markdown
Raw Normal View History

---
title: parts
---
2022-02-05 17:44:23 +01:00
The `parts` key in the pattern configuration file holds a list of
names of pattern parts.
<Tip>
###### This does not need to be an exhaustive list of all parts in your pattern.
This list of parts is needed for the `draft()` method to figure out what
parts need to be drafted.
2022-02-19 08:04:25 +01:00
So if parts are included in the `dependencies`, `inject`, or `hide` configuration,
there's no need to include them here, as we already know of their existence.
</Tip>
2022-02-05 17:44:23 +01:00
## Structure
An array of strings where the strings are part name.
## Example
```js
parts: [
"front",
"back"
]
```