jwt-decode + popper.js is not working in the application

Published

I am using bootstrap 4 in my applications , for the drop down I have installed the popper.js dependency. I have a use case where I have to decode the JWT token obtained from the API . To decode the JWT I am using the jwt-decode dependency

jwt-decode

When I use the jwt-decode dependency the popper.min.js deletes from the node_modules and throws the error in the consolepopper js error

if I install the popper.js dependency it throws the console error
jwt-decode

how to use popper.min.js and jwt-decode in the application .

Angular.json

"scripts": [
              "node_modules/jquery/dist/jquery.min.js",
              "node_modules/raphael/raphael.min.js",
              "node_modules/select2/dist/js/select2.full.min.js",
              "node_modules/popper.js/dist/umd/popper.min.js",
              "node_modules/bootstrap/dist/js/bootstrap.min.js"
            ]

Source: Angular Questions

Published
Categorized as angular, bootstrap-4, jwt, npm, popper.js Tagged , , , ,

Answers

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Still Have Questions?


Our dedicated development team is here for you!

We can help you find answers to your question for as low as 5$.

Contact Us
faq