Closed blurymind closed 3 years ago
There's no impediment to registering Chickenpaint on npm, I'll do that.
Those URLs can be anything, or removed completely, they don't have to be PHP.
Build files are written to resources/js.
chickenpaint has now been published on npm:
Bumped version to 0.1.1 because the build scripts weren't including the right files
While you have added it to npm, its api is kind of unfriendly for usage in other projects - it would be nice to have a method exposed for saving and loading the data, without having to hackily override classes.
I am wondering if there is perhaps a way to untangle the painting app from the php board stuff, and use it flexibly like an npm module, which can be inlcuded in a react component for example.
Do you think such a task is too big to do or perhaps already possible?
do these need to be php? Cant we not rely on urls and instead just download the image or get its blob instead?
When one runs npm run build, where is the dist folder with the minified js? It seems to no longer create a dist folder after building.
Is there any reason chickenpaint is not registered on npm?