0

I am newbee for Vue but comfirtable in angular.I want to integrate oidc-client in Vue3 app. I am refering this https://www.jerriepelser.com/blog/using-auth0-with-vue-oidc-client-js/ but not able to get its hold by using composition API to store the user state and logged in data .

Please suggest how I can achieve following lines of code in Vue 3

import Vue from 'vue';
import Vuex, { Store } from 'vuex';

import { getStoreBuilder } from 'vuex-typex';
import { RootState } from '@/store/interfaces/state';

Vue.use(Vuex);


const store: Store<RootState> = getStoreBuilder<RootState>().vuexStore();

export default store; 
Rutu
  • 125
  • 2
  • 10

0 Answers0