Nakama Js Client With Cocos Creator 3.0

Thank you, @MrZak-dev. This post is really helpful! Follow your setting I found another solution: beside the dist folder there are *.ts files:

Screen Shot 2021-01-28 at 09.59.28
Just import them into assets/libs/nakama and use them directly:

import {Client} from "../libs/nakama/client";
import {Session} from "../libs/nakama/session";
2 Likes