Closed M-VINOTH closed 3 years ago
Component library support in the extension is limited to debugging entirely local copies of the component library. The workflow in the extension is something like this:
componentLibraries
objectWith this approach, you need to explicitly reference the component libraries using http://localhost:${whateverPortIsSpecifiedInComponentLibrariesPort}/${nameofComponentLibrary}
in your main app code.
@chrisdp can help better troubleshoot your issues since he's one of the primary contributors of the component library features.
Closing due to lack of activity.
Hello All,
Work with the component library in Visual Studio
I started to use the VS Code for development, here I have some doubt about ComponentLibrary and componentLibrariesPort.
CreateObject("roSGNode","LOCAL_COMPONENT_LIBRARY_ID:COMPONENT_NAME"),
it's throwing an error: BRIGHTSCRIPT: ERROR: roSGNode: Failed to create roSGNode with type FormFields invalid
How to access the local ComponentLibrary in a development project? do we have a way to load the component library? or always need to host the zip file on the server?
What about the componentLibrariesPort? how does it work in VS Code?