Skip to main content
The TAC SDK can be used within different frontend frameworks. Below you can find examples for the popular ones like React, Next.js and Vue.js.

Integration Examples

React Application

Create a context provider for SDK management:

Next.js Application

Handle client-side initialization with proper error boundaries:

Vue.js Application

Create a composable for SDK management:

Common Issues and Solutions

If you encounter module resolution errors, ensure you’re using a modern bundler that supports ES modules:Webpack 5:
Vite:
If you experience network connection issues:Verify firewall settings - Ensure your environment can access TON and TAC endpoints
For TypeScript type errors:
  1. Install type definitions:
  1. Update your tsconfig.json:
  1. Use explicit imports: