Do pracy z frontendem (Vue) zalecane jest używanie 'watcha', który umożliwia automatyczne śledzenie zmian w plikach projektu i buduje front po tych zmianach (plusworkflow-web). Jedynym wymaganiem tutaj jest zainstalowanie node@14. Konfiguracja watcha w intellij znajduje się tam gdzie konfiguracja serwera (wybieramy z rozwijanej listy npm) i wygląda następująco:
Zmieniając coś w cuf-web/plusworkflow-form-web, to watcha trzeba wtedy wywołać na odpowiednim projekcie. Watcha można również włączyć poprzez komendę w terminalu: npm run watch |
To work with the frontend (Vue), it is recommended to use 'watch', which allows you to automatically track changes to project files and builds the frontend after those changes (plusworkflow-web). The only requirement here is to install node@14. The configuration of watch in intellij is located where the server configuration (choose from the npm dropdown) and looks as follows:
By changing something in cuf-web/plusworkflow-form-web, then watch must be called on the corresponding project. Watch can also be enabled via a command in the terminal: npm run watch |