Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

A small demo application showing how to use Hilla with React, Formik binding with form. Lazy loading Grid. Dialog.

License

Apache-2.0, Unlicense licenses found

Licenses found

Apache-2.0
LICENSE
Unlicense
LICENSE.md
NotificationsYou must be signed in to change notification settings

TatuLund/hilla-react-demo

This project can be used as a starting point to create your own Hilla application with Spring Boot.It contains all the necessary configuration and some placeholder files to get you started.

Running the application

The project is a standard Maven project. To run it from the command line,typemvnw (Windows), or./mvnw (Mac & Linux), then openhttp://localhost:8080 in your browser.

You can also import the project to your IDE of choice as you would with anyMaven project.

Deploying to Production

To create a production build, callmvnw clean package -Pproduction (Windows),or./mvnw clean package -Pproduction (Mac & Linux).This will build a JAR file with all the dependencies and front-end resources,ready to be deployed. The file can be found in thetarget folder after the build completes.

Once the JAR file is built, you can run it usingjava -jar target/myapp-1.0-SNAPSHOT.jar (NOTE, replacemyapp-1.0-SNAPSHOT.jar with the name of your jar).

Project structure

DirectoryDescription
frontend/Client-side source directory
    index.htmlHTML template
    index.tsFrontend entrypoint, bootstraps a React application
    routes.tsxReact Router routes definition
    MainLayout.tsxMain layout component, contains the navigation menu, usesApp Layout
    views/UI view components
    themes/Custom CSS styles
src/main/java/<groupId>/Server-side source directory, contains the server-side Java views
    Application.javaServer entry-point

Useful links

About

A small demo application showing how to use Hilla with React, Formik binding with form. Lazy loading Grid. Dialog.

Topics

Resources

License

Apache-2.0, Unlicense licenses found

Licenses found

Apache-2.0
LICENSE
Unlicense
LICENSE.md

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp