Skip to content

Instantly share code, notes, and snippets.

@NSLog0
Last active May 19, 2016 05:39
Show Gist options
  • Select an option

  • Save NSLog0/a5ad30de3a3d37661477d13c3c429ca0 to your computer and use it in GitHub Desktop.

Select an option

Save NSLog0/a5ad30de3a3d37661477d13c3c429ca0 to your computer and use it in GitHub Desktop.
Turorial for React and Spring Boot
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>com.github.eirslett</groupId>
<artifactId>frontend-maven-plugin</artifactId>
<version>1.0</version>
<configuration>
<workingDirectory>src/main/resources/static</workingDirectory>
</configuration>
<executions>
<execution>
<id>install node and npm</id>
<goals>
<goal>install-node-and-npm</goal>
</goals>
<configuration>
<nodeVersion>v6.2.0</nodeVersion>
<npmVersion>3.8.9</npmVersion>
</configuration>
</execution>
<execution>
<id>npm install</id>
<goals>
<goal>npm</goal>
</goals>
<configuration>
<arguments>install</arguments>
</configuration>
</execution>
<execution>
<id>webpack build</id>
<goals>
<goal>webpack</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment