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

typescript版本的微信小程序使用 #45

Open
DingPengfei opened this issue Sep 2, 2024 · 3 comments
Open

typescript版本的微信小程序使用 #45

DingPengfei opened this issue Sep 2, 2024 · 3 comments

Comments

@DingPengfei
Copy link

在TS开发的微信小程序中使用改hooks出现了
Error: module 'spa-custom-hooks.js' is not defined, require args is 'spa-custom-hooks'
的错误

@1977474741
Copy link
Owner

怎么引用的?

@DingPengfei
Copy link
Author

模块引入了,但是好像一直没注册成功。请问有ts注册的demo吗

@1977474741
Copy link
Owner

ts跟js一样的方式,没注册成功具体是?有报错吗

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