Reader small image

You're reading from  Full Stack Quarkus and React

Product typeBook
Published inNov 2022
Reading LevelBeginner
PublisherPackt
ISBN-139781800562738
Edition1st Edition
Languages
Right arrow
Author (1)
Marc Nuri San Felix
Marc Nuri San Felix
author image
Marc Nuri San Felix

Marc started his career as a freelance web application developer, creating and maintaining software for the transportation/courier industry. A few years ago Marc started working as an employee for different companies where he has helped build scalable web applications for different industries (retail, procurement software, e-commerce, etc.). He is now a professional Open Source developer focused on the creation and maintenance of developer tools for Java developers and Kubernetes.
Read more about Marc Nuri San Felix

Right arrow

Configuring the Quarkus application to build the frontend

The first step of combining the React and Quarkus projects for a single deployment is configuring the Quarkus build process to run the frontend build and packaging tasks and account for the generated resources.

In the Maven project (pom.xml) section of Chapter 1, Bootstrapping the Project, we learned that the pom.xml file is the main unit of work for Maven and collects all the configuration details that will be used by Maven to build the project. Let’s edit this file to add the required changes.

The following code snippet contains the changes in the pom.xml build section related to the required configuration so that Quarkus accounts for the resources generated from the frontend build process:

<resources>
  <resource>
    <directory>src/main/resources</directory>
  </resource>
  <resource>
    <directory...
lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Full Stack Quarkus and React
Published in: Nov 2022Publisher: PacktISBN-13: 9781800562738

Author (1)

author image
Marc Nuri San Felix

Marc started his career as a freelance web application developer, creating and maintaining software for the transportation/courier industry. A few years ago Marc started working as an employee for different companies where he has helped build scalable web applications for different industries (retail, procurement software, e-commerce, etc.). He is now a professional Open Source developer focused on the creation and maintenance of developer tools for Java developers and Kubernetes.
Read more about Marc Nuri San Felix