在单独的 JS 项目中使用 Phoenix 的 `Socket` JS 模块
Use Phoenix's `Socket` JS module in a separate JS project
我有一个单独的 JS UI 应用程序,它通过 Phoenix 的 Socket JS 模块连接到 Phoenix 服务器。
将 Socket 模块导入我的项目的最佳方法是什么?有没有只包含 Phoenix JS 模块的npm
?
谢谢
这是要提取到 npm 包中的路线图,但是没有时间表
https://github.com/phoenixframework/phoenix/issues/827
Folks, the client will be extracted when I have time to prioritize it. Until then, hang tight.
(9 days ago)
在提取之前,最好的办法是将其导入到您的项目中。该文件位于 on GitHub.
我有一个单独的 JS UI 应用程序,它通过 Phoenix 的 Socket JS 模块连接到 Phoenix 服务器。
将 Socket 模块导入我的项目的最佳方法是什么?有没有只包含 Phoenix JS 模块的npm
?
谢谢
这是要提取到 npm 包中的路线图,但是没有时间表
https://github.com/phoenixframework/phoenix/issues/827
Folks, the client will be extracted when I have time to prioritize it. Until then, hang tight.
(9 days ago)
在提取之前,最好的办法是将其导入到您的项目中。该文件位于 on GitHub.