Hi guys,
I created a custom widget to show a bar chart. I remember that we can start it from VS Code using npm start, forward the port, and connect the custom widget to debug and display the data in the console. However, mine only shows the loading screen.
Could someone help me?
Hi @geovane.silva
If VSCode Forward Port isn’t working, I recommend using ngrok to expose your local app. Here’s how:
Install ngrok (you’ll need a free account): Official Getting Started Guide
Start your local server as usual, e.g.:
npm run dev
Open a tunnel with ngrok (replace 1234 with your app’s port):
1234
ngrok http http://localhost:1234
The terminal will show a public link like:
https://abcd-1234.ngrok-free.app
Use this link on the custom widget.
Thanks for your response! I tested it with ngrok and it works.