企业🤖AI Agent构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
[TOC] >[success] # config文件夹说明 **config/index.js** 为 **当前项目的配置** **config/index.js** ~~~ export default{ } ~~~ 上面使用 **ES6** 的 **模块** 导出一个对象,如果有 **全局变量** 都可以写在这里,在需要用到的地方直接这么写: ~~~ import config from '@/config' // nodejs就会自动找到他下面的index.js文件 ~~~ 或者这样也可以找到这个 **index** 文件, ~~~ import config from '@/config/index' ~~~