Configurações - PatriciaLocatelli/trabalho-pw2 GitHub Wiki
brew install node npm install -g @vue/cli
sudo apt update sudo apt install node npm install -g @vue/cli
choco install npm npm install -g @vue/cli
Vá em https://start.spring.io/ e inicialize o Spring Boot. Adicione ao pom.xml:
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<executions>
<execution>
<id>copy Vue.js frontend content</id>
<phase>generate-resources</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<outputDirectory>src/main/resources/public</outputDirectory>
<overwrite>true</overwrite>
<resources>
<resource>
<directory>${project.parent.basedir}/frontend/target/dist</directory>
<includes>
<include>static/</include>
<include>index.html</include>
<include>favicon.ico</include>
</includes>
</resource>
</resources>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>```
## Para o front-end execute o comando:
vue create frontend