
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
22 lines
490 B
Markdown
22 lines
490 B
Markdown
---
|
|
title: Adding paths
|
|
for: developers
|
|
icon: pattern
|
|
about: Shows you how to add paths to your pattern
|
|
---
|
|
|
|
After using the [shorthand](/howtos/core/shorthand/) call,
|
|
`Path` contains the path constructor, while `paths` is a reference to `part.paths`,
|
|
which is where you should store your paths.
|
|
|
|
Things will now *just work* when you do this:
|
|
|
|
```js
|
|
paths.example = new Path()
|
|
```
|
|
|
|
<Tip>
|
|
|
|
The [Path API docs](/reference/api/path) list all the things you can do with a path object.
|
|
|
|
</Tip>
|