An example of building a war of create-react-app in TypeScript on Maven
- build
- create-react-app
- maven
- starter
- template
- typescript
- war
cra-ts-uilib-storybook-lerna-mvn-war
- create-react-app
- JDK >= 1.5
- Maven
- Node
- Tomcat or another servlet container - for running
- TypeScript
npm run build:war
Now the resulting cra-ts-maven-war.war is in the target directory.
Copy the cra-ts-maven-war.war to the webapps directory of the Tomcat server.
Wait a few seconds for deployment.
Run http://localhost:8080/cra-ts-maven-war from the browser
Rename cra-ts-maven-war.war for example to cra-ts-maven-war-another-path.war.
Deploy it to the Tomcat.
Run http://localhost:8080/cra-ts-maven-war-another-path from the
browser
Licensed under the MIT license.