@candyjs/tswrapper

0.0.2 • Public • Published

使用

// 引入 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');
});

/@candyjs/tswrapper/

    Package Sidebar

    Install

    npm i @candyjs/tswrapper

    Weekly Downloads

    0

    Version

    0.0.2

    License

    ISC

    Unpacked Size

    3.47 kB

    Total Files

    6

    Last publish

    Collaborators

    • candyjs