Polymer module does not work when Module prefix is ROOT

I am not sure if this is a known problem but when the Module prefix is set to ROOT and the Polymer module is added, quite a few files need to be tweaked to get it to work.

To repro, create a new project, change the Module prefix to root then add the Polmer module. Run the project and you can see that for starters the dev url is http://localhost:8080/ROOT-front which will 404.

My project is working but I am documenting this for others so they know what manual tweaking is required to make it work. Or at least how I wanted it to work … I might have tackled this the wrong way?

The following files were changed:

build.gradle:

image

image

index.html:

image

polymer.json:

image

manifest.json:

image

Cheers,

Ian

Unfortunately, hot deploy does not work and there is no config in the build.gradle as it looks like Studio is handling the file watcher:

image

I have worked around the problem for now by creating a soft link:

mklink /D ROOT-front mobile

Am I doing something wrong?

Hi,

Thanks for the reporting, there is an issue in our tracker.
Meanwhile you can fix hot deploy manually via Studio UI:

Help > Settings > Hot deploy settings