eirslett / frontend-maven-plugin

"Maven-node-grunt-gulp-npm-node-plugin to end all maven-node-grunt-gulp-npm-plugins." A Maven plugin that downloads/installs Node and NPM locally, runs NPM install, Grunt, Gulp and/or Karma.
Apache License 2.0
4.22k stars 868 forks source link

react spring data rest tutorial / the frontend plugin no working #948

Open uliattiogbe opened 3 years ago

uliattiogbe commented 3 years ago

Do you want to request a feature or report a bug?

What is the current behavior?

If the current behavior is a bug, please provide the steps to reproduce.

What is the expected behavior?

Please mention your frontend-maven-plugin and operating system version.

uliattiogbe commented 3 years ago

I am new to the frontend maven plugin usage and react-spring application. I follow the tutorial at https://spring.io/guides/tutorials/react-and-spring-data-rest/

I copy and paste the below plugin in the pom.xml of my springboot app but there is updated in my target follow as expected. `

com.github.eirslett frontend-maven-plugin

`

I have node already installed . I read about using the exec-plugin, but nothing: `com.github.eirslett

exec-maven-plugin

`

do I have to add execution and configuration tags and so on to the plugin? Any direction or alternative to have the expected target folder structure I will really appreciate.

the-master commented 3 years ago

Version needs to be included.

UgmaDevelopment commented 3 years ago

Hi @uliattiogbe,

I've also recently followed that tutorial. The necessary maven-frontend-plugin configuration went missing from the tutorial due to a mix-up.

I've submitted a pull request to get that configuration fixed.

Use this configuration from the tutorial source files and it should work for you, no problems.