import './themes'; import App from 'frc-core-pro'; import Action from '@actions'; import routes from '@routes'; import models from '@models'; import {onEffect, onFetchOption} from '@utils/reduxUtils'; const app = App({ onEffect, onFetchOption }); app.models!(models); app.router!((a: any) => { return routes(a); }); app.start!('#app'); new Action({dispatch: app.store!.dispatch, history: app.history});