Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于jwt在vite上不能使用的问题 #10

Open
williamyorkl opened this issue May 18, 2021 · 2 comments
Open

关于jwt在vite上不能使用的问题 #10

williamyorkl opened this issue May 18, 2021 · 2 comments

Comments

@williamyorkl
Copy link

image

jwt不能在vite用import 的方法引入,因为jsonwebtoken这个依赖不支持浏览器的runtime,作者这边也说了:auth0/node-jsonwebtoken#730

请教下看看还有没有什么方法呢?

@littlepoolshark
Copy link

我也遇到了同样的问题

@williamyorkl
Copy link
Author

williamyorkl commented Jul 1, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants