Merge pull request #4775 from freesewing/dev-fixes
fix(dev): Small fixed required to make the tutorial work
This commit is contained in:
commit
dada1e2630
3 changed files with 5 additions and 3 deletions
|
@ -62,7 +62,7 @@ our snippets:
|
|||
function draftBib({
|
||||
Path,
|
||||
Point,
|
||||
//hightlight-start
|
||||
//highlight-start
|
||||
Snippet,
|
||||
//highlight-end
|
||||
paths,
|
||||
|
|
|
@ -20,6 +20,8 @@ lives in `design/src/index.mjs`, and our part lives in `design/src/bib.mjs`.
|
|||
This `bib.mjs` is where we'll do all our work. The file includes a comments to guide you on how to use it. We removed those for clarity in our example. It currently looks like this:
|
||||
|
||||
```design/src/bib.mjs
|
||||
import { pluginBundle } from "@freesewing/plugin-bundle"
|
||||
|
||||
function draftBib ({
|
||||
part, // Your draft method must return this
|
||||
})
|
||||
|
@ -40,7 +42,7 @@ export const bib = {
|
|||
options: {},
|
||||
measurements: [],
|
||||
optionalMeasurements: [],
|
||||
plugins: []
|
||||
plugins: [ pluginBundle ]
|
||||
}
|
||||
```
|
||||
|
||||
|
|
|
@ -138,7 +138,7 @@ const HomePage = ({ page }) => (
|
|||
<div className="flex flex-col gap-5 lg:grid lg:grid-cols-3 lg:gap-4 mt-12">
|
||||
<CardLink
|
||||
color="primary"
|
||||
href="/reference/api"
|
||||
href="/tutorials/pattern-design"
|
||||
title="Design Tutorial"
|
||||
text="Step by step instructions to create your first FreeSewing design"
|
||||
/>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue