You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like the index.html ends up in a folder with the same name referencing files that are in the upper directory. Have you found any workaround/fix for this? I tried setting outDir from dist/app1 to dist aaand tried changing the index property to index.html. I'm thinking that CLI is assuming something wrong here. I imagine it can be fixed with a Node server and setting the static folder to be 1x up, but it's a bit weird
The text was updated successfully, but these errors were encountered:
If you transfer index.html to dist/app1 folder everything should work fine. Unfortunately it is the best solution at the moment. I will keep this issue open till it is properly solved.
Been having a go at implementing this myself and found that my directory structure is a bit iffy so I tried this one again and found the same thing.
After an
ng build
the following structure is created:It looks like the index.html ends up in a folder with the same name referencing files that are in the upper directory. Have you found any workaround/fix for this? I tried setting
outDir
fromdist/app1
todist
aaand tried changing theindex
property toindex.html
. I'm thinking that CLI is assuming something wrong here. I imagine it can be fixed with a Node server and setting the static folder to be 1x up, but it's a bit weirdThe text was updated successfully, but these errors were encountered: