1
0
Fork 0
freesewing/designs/examples/src/index.mjs

57 lines
894 B
JavaScript
Raw Normal View History

import { Design } from '@freesewing/core'
import { gorePlugin } from '@freesewing/plugin-gore'
import { data } from '../data.mjs'
2023-07-02 13:30:41 +02:00
import { i18n } from '../i18n/index.mjs'
// Stacks
import {
stacks_top,
stacks_left,
stacks_right,
stacks_bottom,
stacks_leftEye,
stacks_rightEye,
stacks_mouth,
} from './stacks.mjs'
// Settings
import { settings_sa } from './settings.mjs'
// Setup our new design
const Examples = new Design({
data,
parts: [
// Stacks
stacks_top,
stacks_left,
stacks_right,
stacks_bottom,
stacks_leftEye,
stacks_rightEye,
stacks_mouth,
// Settings
settings_sa,
],
plugins: [gorePlugin],
})
// Named exports
export {
// Stacks
stacks_top,
stacks_left,
stacks_right,
stacks_bottom,
stacks_leftEye,
stacks_rightEye,
stacks_mouth,
// Settings
settings_sa,
Examples,
2023-07-02 13:30:41 +02:00
// Translation
i18n,
}