I’m trying to update a .js file and start parsing for it. About updating - so far so good.
The file is uploaded, it is correct, but every time I add something new, I have to click parse manually.
It wouldn’t be such a problem if not this, that I have quite many problems with inserting Vue into Playcanvas. It seems that only way would be:
- compiling the file without importing Vue
- sending it through REST api
- automated parsing (??)
- compiling it again with Vue
- and sending again
If I compile it with Vue, there’s always an error ‘document’ not defined, but I cannot do much about Vue package, and it wouldn’t be the most reliable way (I could never update Vue without next hours of bug fixing).
I know, I can also make another external app which would use Playcanvas as an Iframe, but the goal is to have all in one place for me and other guys.
So the question is: is there any possibility of automated parsing through REST api or maybe I missed something other in this case?