
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.
31 lines
536 B
Text
31 lines
536 B
Text
---
|
|
title: only
|
|
---
|
|
|
|
The `only` setting allows you to specify one or more parts to
|
|
draft, rather than the entire pattern.
|
|
|
|
It accepts a single part name as a string, an array of one or more part names, or it can be set to `false`.
|
|
|
|
## Signature
|
|
|
|
```js
|
|
const settings = {
|
|
String|Array|Boolean only=false
|
|
}
|
|
```
|
|
|
|
## Example
|
|
|
|
```js
|
|
import { Aaron } from "@freesewing/aaron"
|
|
|
|
const pattern = new Aaron({
|
|
only: ['aaron.front']
|
|
})
|
|
```
|
|
|
|
## Notes
|
|
|
|
When `only` is not specified, it defaults to `false` which means all parts will
|
|
be included.
|