Skip to content

Making openscad-playground importable as a React component #129

@Reiss-Cashmore

Description

@Reiss-Cashmore

Hi,

I wanted to use the Playground in a React project I'm working on but the current setup with the playground means you tend to have to bend your project's toolchain around the way openscad-playground is currently set up.

So, I did some work to get openscad-playground built using a vite toolchain into an exported, importable React component / library.

https://github.com/Reiss-Cashmore/openscad-component

I've published the package here: https://www.npmjs.com/package/openscad-playground

Would there be appetite for me bring this work within the main project? Maybe a toolchain on the side responsible for building the NPM package if you want to stick with Webpack for the main development?

I'd rather not have to maintain this downstream, although the changes to the playground source are very minimal so merging upstream changes wouldn't be terrible.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions