Skip to content

๐Ÿ” Vue 3 Token Authentication example.

Notifications You must be signed in to change notification settings

cba85/vue3-token-authentication

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

1 Commit
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Vue 3 Token Authentication

For demonstration purpose only

Vue 3 Token Authentication example.

Uses:

4 pages (views) using Vue Router:

  • / : home (public)
  • /login: login form (guest only)
  • /register: register form (guest only)
  • /account: private page (auth only)

Actions:

  • (manually) logout button

Project Setup

npm install

Compile and Hot-Reload for Development

npm run dev

Compile and Minify for Production

npm run build