使用
// 引入 wrapper
import'@candyjs/tswrapper';
// 其他模块
import CandyJs from 'candyjs';
import App from 'candyjs/web/Application';
new CandyJs(new App({
'id': 1,
'debug': true,
'appPath': __dirname + '/app'
})).listen(2333, function(){
console.log('listen on 2333');
});