Create a file /.env in root folder (not src folder) with contents
VITE_PROJECT_ID=<watsonx-project-id>
VITE_API_KEY=<watsonx-api-key>
# install dependencies
npm install
# compile
npm run buildYou'll get a dist folder which is the actual extension.
Open Google Chrome browser and visit the URL: chrome://extensions. Activate developer mode and click on Load unpacked. Select the newly generated dist folder.
The extension should be loaded and working perfectly.
