microsoft / vscode-webview-ui-toolkit-samples

A collection of sample extensions built with the Webview UI Toolkit for Visual Studio Code.
MIT License
233 stars 51 forks source link

hello-world-react-cra sample cannot work #172

Closed hrsma2i closed 1 year ago

hrsma2i commented 1 year ago

Describe the bug

hello-world-react-cra sample shows nothing.

To reproduce

Execute the following commands at my local terminal:

$ git clone https://github.com/microsoft/vscode-webview-ui-toolkit-samples.git
$ cd vscode-webview-ui-toolkit-samples/frameworks/hello-world-react-cra
$ npm install
$ cd webview-ui
$ npm install
$ cd ..
$ code .

Open the sample with VSCode and press F5 key.

Expected behavior

I want the panel to show the followings:

Screenshots

スクリーンショット 2023-08-22 9 54 11

Desktop (please complete the following information):

Additional context

hrsma2i commented 1 year ago

Sorry, I hadn't check thoroughly the setup instruction at README.md.

https://github.com/microsoft/vscode-webview-ui-toolkit-samples/tree/main/frameworks/hello-world-react-cra#run-the-sample