-
Notifications
You must be signed in to change notification settings - Fork 8
Installation
Domas edited this page Jan 11, 2020
·
1 revision
- Download this repository in ZIP package, unpack it to your server's
resourcesfolder. - Rename unpacked folder to
chat. - Add resource as dependence to your main resource's config file. For example:
type: js,
main: server/index.mjs,
client-main: client/index.mjs,
client-files: [
client/*
],
deps: [
chat
]
- Import resource by adding
import * as chat from 'chat'in your resource files (requires .ts or .mjs file extension).
Basics
Functionality
Examples