Run app in sub directory

to run app in subdirectory set myAppSubdir to subdirectory you want

# zz_engine/webpack.config.js


from previous:

    // directory where compiled assets will be stored
    // public path used by the web server to access the output path
    // only needed for CDN's or sub-directory deploy

and build assets using command:

bash zz_engine/dev/bin/

Temporary solution for development

if you need to make it work in subdir for development, and accept that some things may not work (assets like fonts etc embeded in CSS), you can edit file:


and change /asset/ to /myAppSubdir/asset/

more info: