启动

启动项目只需要很简单的代码


//引入nativejs
import Native from 'native';

//引入第一步配置好的路由
import Router from 'router.js';

//实例化native
const App = new Native();

//项目通过路由启动
App.run(Router)

results matching ""

    No results matching ""