# Equivalent to basePath in CLI?

**URL:** <https://discourse.dojo.io/t/equivalent-to-basepath-in-cli/324>\
**Category:** Dojo 2+ users\
**Created:** [November 20, 2018, 12:43am UTC](https://discourse.dojo.io/t/equivalent-to-basepath-in-cli/324 "2018-11-20T00:43:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![byersa](https://avatars.discourse-cdn.com/v4/letter/b/bcef8e/32.png) [@byersa](https://discourse.dojo.io/u/byersa)\
**Post date:** [November 20, 2018, 12:43am UTC](https://discourse.dojo.io/t/equivalent-to-basepath-in-cli/324/1 "2018-11-20T00:43:36Z")

</div>

When I generate code with cli-build-app I get the code in output that I expect, but when I go to replace the html code that I had in my java server paths it does not work because it cannot find the files referenced (eg. main.js, etc) because its current directory is different. Is there documentation that talks about how to fit Dojo 2.0 output into existing projects?

---

<div class="post-metadata">

**Author:** ![xiechj](https://avatars.discourse-cdn.com/v4/letter/x/5e9695/32.png) [@xiechj](https://discourse.dojo.io/u/xiechj)\
**Post date:** [November 20, 2018, 2:06am UTC](https://discourse.dojo.io/t/equivalent-to-basepath-in-cli/324/2 "2018-11-20T02:06:41Z")

</div>

I eject and modify base.config.js in “config/build-app/”
