Have some questions regarding Auth0?? Check if it’s listed below.

How to remove Auth0 from template?

Login
Open /src/views/pages/login and remove LoginAuth0.vue file and also remove rendering code along with it’s import from Login.vue file.

Registration
Also remove same for registration.

Token
Now remove token renewing from /src/App.vue file. Only remove try-catch block from async created()

Token

Callback
Next step, Remove callback component from your admin. Go to /src/views/ and remove Callback.vue file.

Callback

Along with this also remove route of that callback component from /src/router.js file

Auth0 - 图3)

Router
Remove Auth0 import from top of /src/router.js file

Router

NavBar
Then remove auth0 logout from /src/layouts/components/TheNavbar.vue. Remove below code from this file.

NavBar

Store
Now let’s go over store. Open /src/store/auth/moduleAuthState.js file and update isLoggedIn state as below:

Store
Now remove auth service by removing /src/auth folder. Which contains authService.js file.

Auth0 - 图7

Now remove auth0 plugin from your app by removing src/plugins/auth.js file.

Auth0 - 图8

TIP If you haven’t installed any other plugins then you can remove this empty folder. After that remove import of above plugin from src/main.js file.
Auth0 - 图9

Next remove auth0 config file from root of your project.

Auth0 - 图10

Finallly remove auth0 from package.json file.

Auth0 - 图11
Done. Your template is now auth0 free.