yyl-server
v1.0.7
Published
yyl server
Downloads
10
Readme
yyl-server
安装
yarn add yyl-server
使用
import { Runner } from 'yyl-server'
import yylConfig from './yyl.config'
const runner = new Runner({
yylConfig: config,
log: () => undefined,
env: {},
cwd: process.cwd(),
serverOption: {
appWillMount() {
mountArr.push('will')
return Promise.resolve()
},
appDidMount() {
mountArr.push('did')
return Promise.resolve()
}
}
})