File tree Expand file tree Collapse file tree 8 files changed +26
-6
lines changed Expand file tree Collapse file tree 8 files changed +26
-6
lines changed Original file line number Diff line number Diff line change 33For more detail, please visit:
44> [ Vue.js JWT Authentication with Vuex and Vue Router] ( https://bezkoder.com/jwt-vue-vuex-authentication/ )
55
6+ > [ Using Typescript] ( https://bezkoder.com/vuex-typescript-jwt-auth/ )
7+
68Fullstack with Spring Boot Back-end:
79> [ Spring Boot + Vue.js: Authentication with JWT & Spring Security Example] ( https://bezkoder.com/spring-boot-vue-js-authentication-jwt-spring-security/ )
810
911Fullstack with Node.js Express Back-end:
1012> [ Node.js Express + Vue.js: JWT Authentication & Authorization example] ( https://bezkoder.com/node-express-vue-jwt-auth/ )
1113
14+ Fullstack CRUD:
15+ > [ Vue.js + Node.js + Express + MySQL example] ( https://bezkoder.com/vue-js-node-js-express-mysql-crud-example/ )
16+
17+ > [ Vue.js + Node.js + Express + PostgreSQL example] ( https://bezkoder.com/vue-node-express-postgresql/ )
18+
19+ > [ Vue.js + Node.js + Express + MongoDB example] ( https://bezkoder.com/vue-node-express-mongodb-mevn-crud/ )
20+
21+ > [ Vue.js + Spring Boot + MySQL/PostgreSQL example] ( https://bezkoder.com/spring-boot-vue-js-crud-example/ )
22+
23+ > [ Vue.js + Spring Boot + MongoDB example] ( https://bezkoder.com/spring-boot-vue-mongodb/ )
24+
25+ > [ Vue.js + Django example] ( https://bezkoder.com/django-vue-js-rest-framework/ )
26+
1227## Note:
1328Open ` src/services/auth-header.js ` and modify ` return ` statement for appropriate back-end.
1429
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ export default {
2323 },
2424 error => {
2525 this .content =
26- (error .response && error .response .data ) ||
26+ (error .response && error .response .data && error . response . data . message ) ||
2727 error .message ||
2828 error .toString ();
2929 }
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ export default {
2323 },
2424 error => {
2525 this .content =
26- (error .response && error .response .data ) ||
26+ (error .response && error .response .data && error . response . data . message ) ||
2727 error .message ||
2828 error .toString ();
2929 }
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ export default {
2323 },
2424 error => {
2525 this .content =
26- (error .response && error .response .data ) ||
26+ (error .response && error .response .data && error . response . data . message ) ||
2727 error .message ||
2828 error .toString ();
2929 }
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ export default {
2323 },
2424 error => {
2525 this .content =
26- (error .response && error .response .data ) ||
26+ (error .response && error .response .data && error . response . data . message ) ||
2727 error .message ||
2828 error .toString ();
2929 }
Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ export default {
9090 error => {
9191 this .loading = false ;
9292 this .message =
93- (error .response && error .response .data ) ||
93+ (error .response && error .response .data && error . response . data . message ) ||
9494 error .message ||
9595 error .toString ();
9696 }
Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ export default {
101101 },
102102 error => {
103103 this .message =
104- (error .response && error .response .data ) ||
104+ (error .response && error .response .data && error . response . data . message ) ||
105105 error .message ||
106106 error .toString ();
107107 this .successful = false ;
Original file line number Diff line number Diff line change 1+ module . exports = {
2+ devServer : {
3+ port : 8081
4+ }
5+ }
You can’t perform that action at this time.
0 commit comments