I am using Quarkus and Quinoa to serve my Angular application. Quinoa specifies that I can configure the Web UI directory to be outside the Quarkus project.
My project structure looks like this:
- frontend [Angular Project]
- hello-world [Quarkus Project]
Inside the application properties I specify the quinoa properties:
quarkus.quinoa.ui-dir=../../frontend
quarkus.quinoa.dev-server.port=4200
quarkus.quinoa.enable-spa-routing=true
quarkus.quinoa.frozen-lockfile=true
As you can see, I am setting the frontend path relative to the project root. However, when I am trying to run the application quarkus dev
, it is giving me the following error:
Quinoa directory not found 'quarkus.quinoa.ui-dir=../../frontend'
When I am placing the frontend inside the quarkus project with the ui dir pointing to the changed path, it works as expected.
Why does it not work with my frontend folder being outside of the quarkus project directory and how would could I make it work?