Replies: 5 comments 8 replies
|
@bpamiri Sure, I will look through and keep posting here. |
|
@bpamiri I reproduced your issue and I am also getting this error. I fixed that and ran the same scenario again and it is showing the Hello world when I go to "/home" as expected. I created a PR for that fix. PR |
|
@zainforbjs that's great. Now let's work on moving the Wheels folder out of the root. We need to make sure that if the |
|
@bpamiri I've come across with different ways but needs some approval from your side to proceed further on this. The CSS and JS are not loading because the /wheels mapping does not work on the front end for including CSS/JS files. Possible Solutions
@bpamiri let me know what are your thoughts? Thanks Appreciated. |
|
@zainforbjs have you made any headway on this? |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
@zainforbjs I'm trying to test moving the app directories out of the root but running into some problems. I was wondering if you can reproduce what I'm seeing.
wheels g app name=myapp setupH2=true cfmlEngine=lucee template=cfwheels-base-template@beserver startand momentarily get a browser open up to the rootso far so good
this.appDir = this.webrootDir & 'app';server restartyou should still get the Congratulations page
homeindex.cfmand just add Hello World in that filenow if you try to go to the
/homeurl you'll get an error. It looks like there are still some elements that are not using the /app prefix to get to the controllers.All reactions