用AI赚第一桶💰低成本搭建一套AI赚钱工具,源码可二开。 广告
建议您将上一节介绍到的`new JBoot(...)`中的配置,抽离为单独的配置文件 **configure.js**,具体如下: ``` //引入jboot import JBoot from 'jboot-env'; //引入configure.js import configure from './configure/index.js'; //实例化jboot let jbootInstance = new JBoot(configure); ``` 关于**configure.js**中的代码如下: ``` //context为jboot-env的配置上下文对象 export default function(context){ //配置入口文件 context.$configure.set('rootFileConfigure', function () { return { instance: function () { return require('../Root.vue').default; }, el: '#app' } }); } ```