File tree 8 files changed +26
-6
lines changed
8 files changed +26
-6
lines changed Original file line number Diff line number Diff line change 3
3
For more detail, please visit:
4
4
> [ Vue.js JWT Authentication with Vuex and Vue Router] ( https://bezkoder.com/jwt-vue-vuex-authentication/ )
5
5
6
+ > [ Using Typescript] ( https://bezkoder.com/vuex-typescript-jwt-auth/ )
7
+
6
8
Fullstack with Spring Boot Back-end:
7
9
> [ Spring Boot + Vue.js: Authentication with JWT & Spring Security Example] ( https://bezkoder.com/spring-boot-vue-js-authentication-jwt-spring-security/ )
8
10
9
11
Fullstack with Node.js Express Back-end:
10
12
> [ Node.js Express + Vue.js: JWT Authentication & Authorization example] ( https://bezkoder.com/node-express-vue-jwt-auth/ )
11
13
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
+
12
27
## Note:
13
28
Open ` src/services/auth-header.js ` and modify ` return ` statement for appropriate back-end.
14
29
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ export default {
23
23
},
24
24
error => {
25
25
this .content =
26
- (error .response && error .response .data ) ||
26
+ (error .response && error .response .data && error . response . data . message ) ||
27
27
error .message ||
28
28
error .toString ();
29
29
}
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ export default {
23
23
},
24
24
error => {
25
25
this .content =
26
- (error .response && error .response .data ) ||
26
+ (error .response && error .response .data && error . response . data . message ) ||
27
27
error .message ||
28
28
error .toString ();
29
29
}
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ export default {
23
23
},
24
24
error => {
25
25
this .content =
26
- (error .response && error .response .data ) ||
26
+ (error .response && error .response .data && error . response . data . message ) ||
27
27
error .message ||
28
28
error .toString ();
29
29
}
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ export default {
23
23
},
24
24
error => {
25
25
this .content =
26
- (error .response && error .response .data ) ||
26
+ (error .response && error .response .data && error . response . data . message ) ||
27
27
error .message ||
28
28
error .toString ();
29
29
}
Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ export default {
90
90
error => {
91
91
this .loading = false ;
92
92
this .message =
93
- (error .response && error .response .data ) ||
93
+ (error .response && error .response .data && error . response . data . message ) ||
94
94
error .message ||
95
95
error .toString ();
96
96
}
Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ export default {
101
101
},
102
102
error => {
103
103
this .message =
104
- (error .response && error .response .data ) ||
104
+ (error .response && error .response .data && error . response . data . message ) ||
105
105
error .message ||
106
106
error .toString ();
107
107
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