Open ZeeD opened 1 year ago
wait. Maybe I misunderstood the problem. Could just be a bug in app? https://github.com/rokucommunity/sample-projects/blob/de0ade935112613b63af83cdf51ade02c928ce51/component-library-and-project/app/components/MainScene.brs#L26-L28
should dialog
actually be m.dialog
?
You're right, that's a bug in the code, it should be m.dialog
. However, that shouldn't stop the project from working.
One of the major points of this sample is actually to show you you can do component library launching and debugging using just the built-in vscode extension tools. You shouldn't need to spin up your own component library http server as the BrightScript vscode extension will do that for you.
I'm adding some instructions for this sample right now, I'll comment again when it's ready.
Ok, I've added some instructions here. Give them a try, let me know if you have any more questions. :)
I'm trying the demos in this project and I'm stuck with component-library-and-project. I see there are two bs project; complib and app. I cloned the repo on my machine, entered in complib folder and successfully run
bsc
that createdcomplib/out/complib.zip
. Now I want to "use" this library in app. Runningbsc
inside app just return errors. On https://github.com/rokucommunity/sample-projects/blob/de0ade935112613b63af83cdf51ade02c928ce51/component-library-and-project/app/manifest#L10 I see that it expect to downloadcomplib.zip
from http. I changed to point to localhost and started a webserver locally (justpython3 -mhttp.server
in thecomplib/out
folder). I can succesfully download the .zip file from firefox. Still, I have errors running bsc:what I'm missing?