- For web
src->config modify it to your own ip, but do not need to modify the port
export const WS_URL = "ws://125.124.195.201:10001";
export const API_URL = "http://125.124.195.201:10002";
export const USER_URL = "http://125.124.195.201:10008";-
Get dependencies from npm
npm install
-
Run and preview at local (web & electron)
npm run dev -
Build (web)
You can refer to the dependencies in the
package_build_web.jsonfile to reduce the size of the installation packagenpm run build -
Build (electron)
You can refer to the dependencies in the
package_build.jsonfile to reduce the size of the installation packageyou need update
utils/open_im_sdk_wasm/api/database/instance.jswasm import path first.- SQL = await initSqlJs({ locateFile: () => '/sql-wasm.wasm' }); + SQL = await initSqlJs({ locateFile: () => '../sql-wasm.wasm' });
npm run el:build // or npm run el:build-win // or npm run el:build-linux
The best way to interact with our team is through GitHub.You can open an issue with this.You can also find some Doc in Our Developer Guide.
