1
0
Fork 0

Merge pull request #4775 from freesewing/dev-fixes

fix(dev): Small fixed required to make the tutorial work
This commit is contained in:
Joost De Cock 2023-08-20 07:44:54 +02:00 committed by GitHub
commit dada1e2630
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 3 deletions

View file

@ -62,7 +62,7 @@ our snippets:
function draftBib({
Path,
Point,
//hightlight-start
//highlight-start
Snippet,
//highlight-end
paths,

View file

@ -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 ]
}
```

View file

@ -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"
/>