Bax wrote:The new version of the API (1.7.10) is now available here: http://www.smartfoxserver.com/download/sfs2x#p=client
We also published the NPM package here: https://www.npmjs.com/package/sfs2x-api
Thank you for the support
Bax wrote:The new version of the API (1.7.10) is now available here: http://www.smartfoxserver.com/download/sfs2x#p=client
We also published the NPM package here: https://www.npmjs.com/package/sfs2x-api
Bax wrote:The new version of the API (1.7.10) is now available here: http://www.smartfoxserver.com/download/sfs2x#p=client
We also published the NPM package here: https://www.npmjs.com/package/sfs2x-api
Code: Select all
import * as SFS2X from "sfs2x-api";
Bax wrote:Actually I think you can import the library using the package name, instead of the file name.
We are using the following and it works fine (at least in webpack):Code: Select all
import * as SFS2X from "sfs2x-api";
Return to “SFS2X HTML5 / JavaScript API”
Users browsing this forum: No registered users and 33 guests