# Vue 3 with Vite and Meeting SDK not working

**URL:** <https://devforum.zoom.us/t/vue-3-with-vite-and-meeting-sdk-not-working/77405>\
**Category:** Meeting SDK\
**Tags:** web-meeting-sdk\
**Created:** [October 14, 2022, 12:00pm UTC](https://devforum.zoom.us/t/vue-3-with-vite-and-meeting-sdk-not-working/77405 "2022-10-14T12:00:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Preymaker](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/preymaker/32/42238_2.png) [@Preymaker](https://devforum.zoom.us/u/Preymaker)\
**Post date:** [October 14, 2022, 12:00pm UTC](https://devforum.zoom.us/t/vue-3-with-vite-and-meeting-sdk-not-working/77405/1 "2022-10-14T12:00:04Z")

</div>

Hi all

I’m working is a basic boilerplate environment. I’ve started a new vue 3 project using the vue-create cli which used vite.

Working in the HelloWord.vue component I’m trying to add the zoom meetings sdk.

First step is adding the zoom meeting module using

```auto
npm install @zoomus/websdk --save

```

I then try and import the sdk into the component using

```auto
import { ZoomMtg } from "@zoomus/websdk";

```

I get the error

```auto
TypeError: c2 is not a function

```

I managed to fix this using

```auto
import ZoomMtg from "@zoomus/websdk/dist/zoomus-websdk-embedded.umd.min.js";

```

I then added this line of code as per the zoom vue 2 example on GitHub.

```auto
ZoomMtg.setZoomJSLib("https://source.zoom.us/2.8.0/lib", "/av");

```

This results with an error

```auto
Uncaught TypeError: ZoomMtg.setZoomJSLib is not a function

```

This is the point where I’m at and not sure how to proceed.

Help would be most appreciated.

---

<div class="post-metadata">

**Author:** ![freelancer.nak](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/freelancer.nak/32/40968_2.png) [@freelancer.nak](https://devforum.zoom.us/u/freelancer.nak)\
**Post date:** [December 18, 2022, 9:02am UTC](https://devforum.zoom.us/t/vue-3-with-vite-and-meeting-sdk-not-working/77405/2 "2022-12-18T09:02:22Z")

</div>

@Preymaker here is the solution → [VueJS with Zoom WebSDK Integration - YouTube](https://youtu.be/CMpe56VoTTo).
