You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I am starting to learn about JS and Cookies to build my self-project, and Stackoverflow brings me there. I really like this one but I am currently having a problem with running this. Although I installed the package via npm, I cannot run import Cookies from ./js-cookie in my main.js or even in the <script> tag in the index.html file. The image below is the code snippet from my index.html and my browser in order. I am looking forward to your answer, thank you so much!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi, I am starting to learn about JS and Cookies to build my self-project, and Stackoverflow brings me there. I really like this one but I am currently having a problem with running this. Although I installed the package via npm, I cannot run
import Cookies from ./js-cookie
in mymain.js
or even in the<script>
tag in theindex.html
file. The image below is the code snippet from myindex.html
and my browser in order. I am looking forward to your answer, thank you so much!Beta Was this translation helpful? Give feedback.
All reactions