# 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.

## 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: `yarn 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.
