Installation
Install the core package containing all components and types.
npm install @staticbolt/wcpOptional Tools
CLI
Install the wcp CLI to add, create, build, and generate documentation for components into your project.
npm install @staticbolt/wcp-cliSee CLI for available commands.
Vite Plugin
If you are authoring components directly in your project, install the Vite plugin to compile and watch .ts web component files.
npm install @staticbolt/vite-plugin-wcpSee Vite Plugin for configuration.
Staticbolt Plugin
If you are authoring components directly in your project, install the Staticbolt plugin to compile and watch .ts web component files.
npm install @staticbolt/wcp-staticbolt-pluginSee Staticbolt Plugin for configuration.
ESLint Plugin
Lint rules for authoring and consuming WCP components.
npm install @staticbolt/eslint-plugin-wcpSee ESLint Plugin for available rules.
Next Steps
- Setup to configure TypeScript types for your framework.
- After setup, see Theming to style your components.
- Setup Editor Support to get rich editor support for your components.