bezkoder/vue-vuex-jwt-auth
bezkoder/vue-vuex-jwt-auth has 251 GitHub stars and 113 forks. GitHot measured 0 stars in 24 hours and 0 in 7 days. Last checked 2026-11-23 10:12 UTC. Last push 2023-01-05.
Measured star growth
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- Collecting history
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
About
Vue.js Demo for JWT Authentication with Vuex and Vue Router
Developer ToolsREADME.md
OriginalVue.js JWT Authentication with Vuex and Vue Router
For instruction, please visit:
More Practice:
Fullstack with Spring Boot Back-end:
Spring Boot + Vue.js: Authentication with JWT & Spring Security Example
Fullstack with Node.js Express Back-end:
Node.js Express + Vue.js: JWT Authentication & Authorization example
Fullstack CRUD:
Integration (run back-end & front-end on same server/port)
Note:
Open src/services/auth-header.js and modify return statement for appropriate back-end.
export default function authHeader() {
let user = JSON.parse(localStorage.getItem('user'));
if (user && user.accessToken) {
return { Authorization: 'Bearer ' + user.accessToken }; // for Spring Boot back-end
// return { 'x-access-token': user.accessToken }; // for Node.js Express back-end
} else {
return {};
}
}
Project setup
npm install
Compiles and hot-reloads for development
npm run serve
Compiles and minifies for production
npm run build
Run your tests
npm run test
Lints and fixes files
npm run lint
Customize configuration
Explore related projects
Loading…