You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am working on developing an new application using Vue3 + Vite + Okta Vue.
These are the below libraries I am using in my application
@okta/okta-auth-js, @okta/okta-vue,
When I am try running application in my local machine in dev mode it is working. But when I build then I guess rollup is not able to import them properly.
I have tried the solution you mentioned in #1315 but it is not working.
I've tried it on an empty Vue3 project with Vite and vue-router, just adding the Okta components.
Create a project following the Vue v3 using vite
npm install @okta/okta-auth-js
npm install @okta/okta-vue
Now try to run it
npm run dev
And I get the error:
[vite] Optimizable dependencies detected:
@okta/okta-auth-js, @okta/okta-vue, vue
System Info
I am using Mac OS,
Node version 20.9.0
Vite 5.3.1
Vue 3.4.29
Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to vuejs/core instead.
Describe the bug
Describe the bug
Hi
I am working on developing an new application using Vue3 + Vite + Okta Vue.
These are the below libraries I am using in my application
@okta/okta-auth-js, @okta/okta-vue,
When I am try running application in my local machine in dev mode it is working. But when I build then I guess rollup is not able to import them properly.
I have tried the solution you mentioned in #1315 but it is not working.
Reproduction
https://developer.okta.com/docs/guides/sign-in-to-spa-authjs/vue/main/
Steps to reproduce
I've tried it on an empty Vue3 project with Vite and vue-router, just adding the Okta components.
Create a project following the Vue v3 using vite
npm install @okta/okta-auth-js
npm install @okta/okta-vue
Now try to run it
npm run dev
And I get the error:
[vite] Optimizable dependencies detected:
@okta/okta-auth-js, @okta/okta-vue, vue
System Info
Used Package Manager
npm
Logs
No Logs
Validations
The text was updated successfully, but these errors were encountered: