---
title: "Multiple Vue Apps"
description: "Learn how to use the SDK to instrument multiple Vue 3 apps."
url: https://docs.sentry.io/platforms/javascript/guides/vue/features/multiple-apps/
---

# Multiple Vue Apps | Sentry for Vue

Vue 3 allows you to use multiple apps with the same Sentry SDK instance, as well as add more apps dynamically after the SDK has been already initialized.

### [Multiple Apps](https://docs.sentry.io/platforms/javascript/guides/vue/features/multiple-apps.md#multiple-apps)

Pass all your initially created apps to the `app` option in `Sentry.init`:

`main.js`

```javascript
const appOne = Vue.createApp(App);
const appTwo = Vue.createApp(App);
const appThree = Vue.createApp(App);

Sentry.init({
  app: [appOne, appTwo, appThree],
});
```

### [Dynamic Initialization](https://docs.sentry.io/platforms/javascript/guides/vue/features/multiple-apps.md#dynamic-initialization)

If some of your apps are initialized at a later point, you can add Sentry to them like so:

`main.js`

```javascript
// ...
const myLazyApp = createApp(MiscApp);

myLazyApp.mixin(Sentry.createTracingMixins({ trackComponents: true }));
Sentry.attachErrorHandler(myLazyApp);
```
