973 B
973 B
title |
---|
@freesewing/plugin-logo |
The @freesewing/plugin-logo plugin provides the FreeSewing logo as the logo snippet. It's a plugin you most likely want to replace with your own version if you want to generate patterns with your own branding.
An example of the logo snippet
The logo plugin is part of our plugin-bundle
Installation
npm install @freesewing/plugin-logo
Usage
Like all build-time plugins, you load them by passing them to the freesewing.Design super-constructor:
import freesewing from "@freesewing/core";
import logo from "@freesewing/plugin-logo";
import config from "../config";
const Pattern = new freesewing.Design(config, logo);
You can now use the logo snippet in your parts.