Skip to content

Commit 9afa8af

Browse files
tstavinohadsyer
authored andcommitted
spring-guides#63 - Added a documentation remark that js-cookie library needs to be imported in HTML.
1 parent 6fb1397 commit 9afa8af

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

logout/README.adoc

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,14 @@ additional library:
109109
</dependency>
110110
----
111111

112+
Import it in HTML:
113+
114+
.index.html
115+
[source,html]
116+
----
117+
<script type="text/javascript" src="/webjars/js-cookie/js.cookie.js"></script>
118+
----
119+
112120
then we can use `Cookies` convenience methods in xhr:
113121

114122
.index.html

0 commit comments

Comments
 (0)