Change publicPath dynamically at runtime


After Change publicPath is implemented, the only way to change the publicPath would be in the npx frontity build process. It’d be great if we also allow people to change it dynamically, at runtime.

User Stories

As a Frontity developer
I want to change the publicPath at runtime
so that I am not restricted to the /static folder

Possible solution

We can send a query to the server, like this:

We were doing that in the old version of the framework and it worked great.


To be able to remove the frontity_publicPath query from the URL, we need to implement the router converters: Router Converters