Skip to content

Vue SDK 3.1.3

Sample Code

The quickest and simplest way to kickstart your journey with the Vue SDK is by downloading and experimenting with our full-featured sample code:

Download Vue Sample Code

IMPORTANT

In the above sample codes, the strings __YOUR_USER_ID__ and __YOUR_API_KEY__ should be replaced by your own User ID and API Key repectively. Please contact us to obtain your User ID and API Key.

Installation

In your Vue project, install the SDK with the npm install or yarn add commands. For example:

bash
npm install "https://sdk.panoptic.ai/npm/vue-vital-sign-camera-3.1.3.tgz"
bash
yarn add "https://sdk.panoptic.ai/npm/vue-vital-sign-camera-3.1.3.tgz"

TIP

If you are using Yarn v2 or later, you might need to include the package name in the command, such as yarn add vital-sign-camera@"https://sdk.panoptic.ai/npm/vue-vital-sign-camera-3.1.3.tgz".

Vite Configuration

If you are using Vite as your build tool, you need to exclude ts-vital-sign-camera from dependency optimization to ensure proper functionality:

javascript
// vite.config.js
export default defineConfig({
  optimizeDeps: {
    exclude: ['ts-vital-sign-camera'],
  },
});

Deployment Notes

NOTE

If the project is deployed to Google Cloud, some web servers, such as serve, might not function correctly, causing the facial skin age feature to fail. To prevent this issue, use http-server instead.

What's new

3.1.3 (02-Feb-2026)

  • Bug fixes and performance improvements
  • Updated to latest TypeScript SDK 2.1.3

3.1.2 (02-Feb-2026)

  • Stable release from 3.1.2-b1 beta version
  • Bug fixes and performance improvements
  • Enhanced stability and reliability
  • Updated to latest TypeScript SDK 2.1.2 with improved signal processing

3.1.1 (27-Jan-2026)

  • Stable release from 3.1.1-b1 beta version
  • Bug fixes and performance improvements
  • Enhanced stability and reliability

3.1.0 (15-Jan-2026)

  • New visualization options for real-time feedback
  • Improved component API for better integration
  • Enhanced TypeScript definitions for better IDE support
  • Updated to latest TypeScript SDK 2.1.1 with improved signal processing