mirror of
https://github.com/microsoft/vscode-extension-samples.git
synced 2026-04-27 16:55:44 +08:00
19 lines
541 B
Markdown
19 lines
541 B
Markdown
# Cat Codicons
|
|
|
|
Demonstrates loading [codicons](https://github.com/microsoft/vscode-codicons) in a [webview](https://code.visualstudio.com/api/extension-guides/webview).
|
|
|
|
## VS Code API
|
|
|
|
### `vscode` module
|
|
|
|
- [`window.createWebviewPanel`](https://code.visualstudio.com/api/references/vscode-api#window.createWebviewPanel)
|
|
|
|
## Running the example
|
|
|
|
- Open this example in VS Code 1.47+
|
|
- `npm install`
|
|
- `npm run watch` or `npm run compile`
|
|
- `F5` to start debugging
|
|
|
|
Run the `Cat Codicons: Show Cat Codicons` command to create the webview.
|