# Custom Components

The custom-components are a set of Vue components converted into standard JavaScript components that can be interpreted directly by the browser. They are published to NPM and hosted on a CDN. The CDN link is then embedded in Webflow pages to use these components.

## Installation

This package has its own dependency tree, separate from the monorepo workspace. Install dependencies from this directory with:

```sh
pnpm install --ignore-workspace
```

## Process to publish updates to NPM

- Update the package version in package.json, either manually or using the command: `npm version patch`
- Build the project locally with: `pnpm run build`

If there are no errors, this will generate the compiled code inside the dist folder

- Run the command: `npm publish` to publish the updates to NPM.
- Go to the NPM package page to verify that the latest version has been published.

You can check that the necessary files (especially the dist folder) are present under the "Code" tab.
