ulsdevteam / ccvgd-frontend

Contemporary Chinese Village Gazetteer Data front end application
MIT License
2 stars 3 forks source link

Document application webroot setting #7

Closed ctgraham closed 3 years ago

ctgraham commented 3 years ago

The application expects to be deployed in the webroot, and will reference the javascript includes via an absolute path.

For example, deploying to "http://localhost/ccvgd/" will look for runtime-es2015.a1ac991fc00ebf39524f.js in "http://localhost/runtime-es2015.a1ac991fc00ebf39524f.js"

This should be configurable, or should be documented within the readme.

Xiaoxin-He commented 3 years ago

Hey Dr. Clinton! for deploy on application base for router, do with command line

ng build --prod --base-href /ccvgd/

on dist/CCVGproject/index.html line 6 will be updated with

Screen Shot 2021-07-26 at 5 36 22 PM

which the app could listening on

http://localhost/ccvgd/

see more information on the readme, thanks!

ctgraham commented 3 years ago

Resolved by 5e62deb.