# Which module to install for Vue3+Vite+VitePWA? (auth0-spa-js or auth0-vue?)

**URL:** <https://community.auth0.com/t/which-module-to-install-for-vue3-vite-vitepwa-auth0-spa-js-or-auth0-vue/97657>\
**Category:** Get Help\
**Tags:** sdks-quickstarts, quickstarts-other\
**Created:** [January 6, 2023, 5:15pm UTC](https://community.auth0.com/t/which-module-to-install-for-vue3-vite-vitepwa-auth0-spa-js-or-auth0-vue/97657 "2023-01-06T17:15:53Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![kit.zeller](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/kit.zeller/32/13267_2.png) [@kit.zeller](https://community.auth0.com/u/kit.zeller)\
**Post date:** [January 6, 2023, 5:15pm UTC](https://community.auth0.com/t/which-module-to-install-for-vue3-vite-vitepwa-auth0-spa-js-or-auth0-vue/97657/1 "2023-01-06T17:15:54Z")

</div>

I’m confused… I’m migrating my SPA from Vue2/PWA/Webpack to Vue3/Vite/VitePWA and am not sure which of the following modules I should use:

- [@auth0/auth0-spa-js](https://github.com/auth0/auth0-spa-js)
- [@auth0/auth0-vue](https://github.com/auth0/auth0-vue)

_UPDATE: Got it working using “auth0-vue” on an otherwise empty stack of Vue3+Vite+VitePWA. However still confused on the differences between the two options. /END UPDATE_

Can somebody here clarify the difference between the packages and perhaps identify the correct choice for an SPA on Vue3+Vite+VitePWA?

---

<div class="post-metadata">

**Author:** ![eric.culley](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/eric.culley/32/37008_2.png) [@eric.culley](https://community.auth0.com/u/eric.culley)\
**Post date:** [January 13, 2023, 12:43am UTC](https://community.auth0.com/t/which-module-to-install-for-vue3-vite-vitepwa-auth0-spa-js-or-auth0-vue/97657/3 "2023-01-13T00:43:22Z")

</div>

Hi @kit.zeller,

Glad to hear you got everything working in your Vue3 app.

Our `auth0-spa-js` SDK is a library that can be incorporated in any client-side javascript application to handle common OAuth authentication and authorization flows in the browser. It’s great for vanilla javascript applications and apps that aren’t using one of the frameworks for which we offer an SDK. While it could be used in these frameworks, it may required varying levels of tweaking to align with the intricacies of different frameworks.

On the other hand, all of our framework specific SPA SDKs, like `auth0-vue`, are more-or-less built on top of `auth0-spa-js`, but designed to integrate more easily into the specific framework for a better developer experience. They also include additional features and security implementations for each specific framework.

Cheers

---

<div class="post-metadata">

**Author:** ![kit.zeller](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/kit.zeller/32/13267_2.png) [@kit.zeller](https://community.auth0.com/u/kit.zeller)\
**Post date:** [January 15, 2023, 5:08pm UTC](https://community.auth0.com/t/which-module-to-install-for-vue3-vite-vitepwa-auth0-spa-js-or-auth0-vue/97657/4 "2023-01-15T17:08:43Z")

</div>

That clarifies the differences, thanks for your reply.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [January 29, 2023, 5:08pm UTC](https://community.auth0.com/t/which-module-to-install-for-vue3-vite-vitepwa-auth0-spa-js-or-auth0-vue/97657/5 "2023-01-29T17:08:54Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
