Create a library with Vite

Basics of creating a library in Vite.

Create a library with Vite

Adding the NPMRC token

Add the npmrc token to grant access to Masivapp NPM registry

Adding token to connect to Azure Artifacts

Test your package locally

If you want to test your library locally in another app, you can generate local packages to test.

Local packaging

Publishing

Publish your library to the organization’s registry.

Publishing to NPM registry