You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 6, 2025. It is now read-only.
Based on this issue, we should do a better job of documenting/highlighting how to register toolkit web components from within a JavaScript or TypeScript file.
Like so:
import{provideVSCodeDesignSystem,vsCodeButton,vsCodeCheckbox,// Import other component functions –– always in the form `vsCode{ComponentName}`}from"@vscode/webview-ui-toolkit"provideVSCodeDesignSystem().register(vsCodeButton(),vsCodeCheckbox(),// Register other component functions here);
Use case
Toolkit users may not always want to use the toolkit via the bundled toolkit.js or toolkit.min.js files, so we should better document how to import and register individual components.
The text was updated successfully, but these errors were encountered:
Feature/component description
Based on this issue, we should do a better job of documenting/highlighting how to register toolkit web components from within a JavaScript or TypeScript file.
Like so:
Use case
Toolkit users may not always want to use the toolkit via the bundled
toolkit.js
ortoolkit.min.js
files, so we should better document how to import and register individual components.The text was updated successfully, but these errors were encountered: