Hi Roy, By default, the maven build will minify and aggregate all the front-end resources. There is a profile that you can (de)activate to instead bundle the resources as they are in the source. This should look something like:
mvn clean install -P-minify-and-compress When running the resulting build you should be able to inspect things with DevTools and set breakpoints in the debugger. Subsequent iterations can be made faster by only building the necessary modules needed to bundle a new front-end. Specifically, that is nifi-web-ui (don't forget to deactivate minify-and-compress) and nifi-server-nar. The resulting NAR from the target directory in nifi-server-nar will need to be copied to the lib directory of your previously built assembly. Unfortunately, there is no way to run just the front-end in a dev server decoupled from the backed. The NiFi front-end sources are in JSPs which generate markup server side. Hope this helps. Matt On Tue, Dec 21, 2021 at 10:24 PM Roy Huang <[email protected]> wrote: > Hi everyone > > I want to modify some css style in nifi, but I don't know how to run it in > a dev environment, can you help me with that? I'm a front-end developer and > don't know about java maven. >
