1
0
Fork 0

Merge pull request #3390 from BenJamesBen/different-environements-docs-fix

fix(docs): Updates and corrections for FreeSewing in different environments
This commit is contained in:
Joost De Cock 2023-01-13 18:30:30 +01:00 committed by GitHub
commit 2dafd6a65f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 16 additions and 12 deletions

View file

@ -11,8 +11,9 @@ you can generate patterns in the browser with a few lines of JavaScript.
##### Use FreeSewing.org if you just want a pattern
These instructions are intended for people who want to generate
their own patterns. If you _just want a sewing pattern_ you can
get all our designs on [FreeSewing.org](https://FreeSewing.org/),
their own patterns using FreeSewing packages.
If you _just want a sewing pattern created for you,_
you can get all our designs on [FreeSewing.org](https://freesewing.org/),
our website for makers.
</Tip>
@ -86,7 +87,7 @@ Below is a complete example.
## Dependencies
If you compare this example with [our NodeJS
If you compare this example with [our Node.js
example](/howtos/environments/nodejs) you'll notice that you do not
need to worry about loading any dependencies. Not even `@freesewing/core`
is loaded, because Skypack will pull in all dependencies for you.

View file

@ -3,3 +3,5 @@ title: FreeSewing in different environments
---
You can use FreeSewing a different environments:
<ReadMore />

View file

@ -1,8 +1,8 @@
---
title: FreeSewing in NodeJS
title: FreeSewing in Node.js
---
These instructions explain how you can generate patterns in NodeJS.
These instructions explain how you can generate patterns in Node.js.
Whether it's in a backend application or on the command line, all
it takes is a few lines of code — and a couple of dependencies — to
generate a pattern.
@ -12,8 +12,9 @@ generate a pattern.
##### Use FreeSewing.org if you just want a pattern
These instructions are intended for people who want to generate
their own patterns. If you _just want a sewing pattern_ you can
get all our designs on [FreeSewing.org](https://FreeSewing.org/),
their own patterns using FreeSewing packages.
If you _just want a sewing pattern created for you,_
you can get all our designs on [FreeSewing.org](https://freesewing.org/),
our website for makers.
</Tip>
@ -75,7 +76,7 @@ console.log(svg)
## Dependencies
The code above will only work if you've got the required dependencies installed on your system.
Obviously you need NodeJS, but you will also need the following packages:
Obviously you need Node.js, but you will also need the following packages:
- `@freesewing/core`: Our core library
- `@freesewing/plugin-bundle`: Set of common plugins