Closed HungUnicorn closed 5 years ago
To be honest, I mostly develop the app using docker with dev env. This enabled hot reload for css / js and backend auto restart with micronaut.
When I need to dev with intellijidea, I used to manually call webpack
on root folder on kafkahq that will build css & js.
I've not included it in gradle run
to avoid compilaton time for backend since backend need more work than frontend.
should I run the following?
npm install webpack --save-dev
npx webpack --config webpack.config.js
Yep. Or simply use the docker-compose-dev that will Spawn a full dev env with micronaut + webpack like I do
I start the application locally in intellij, from
App.java
, and set-Dmicronaut.config.files=PATH_TO_APPLICATION_YML
. The endpoint is accessible and show some data from my kafka cluster, but the output is the same as this issue described https://github.com/tchiotludo/kafkahq/issues/16The log shows css and js files are not loaded. Perhaps I miss some setup?