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

在vue3+nuxt3中无法使用require("tinify");导入 #43

Open
SilenceYiChen opened this issue May 21, 2023 · 2 comments
Open

在vue3+nuxt3中无法使用require("tinify");导入 #43

SilenceYiChen opened this issue May 21, 2023 · 2 comments

Comments

@SilenceYiChen
Copy link

在vue3+nuxt3中无法使用require("tinify");导入
问下是否支持在vue3中使用
node版本18.1.0
报错如下
QQ截图20230521134728

@tinify-support
Copy link

tinify-support commented May 22, 2023 via email

@Lukunlin
Copy link

你确定你要在编译阶段运行tinify来压缩和打开图片吗?
按上面官方的回复, 这个是给nodejs后端使用的, 如果你是web端,并且在runtime阶段, 限于浏览器客户端的限制,目前这个库的nodejs版是没有做客户端的支持的

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

3 participants