Skip to content

Repository files navigation

starter-react4xp

Enonic XP application template for building React-based websites. Components are rendered server-side and hydrated in the browser, so the same React code runs on both the server and the client.

It bundles lib-react4xp, the @enonic/react4xp build tool and a working Hello world page.

Documentation

Requirements

Version
Enonic XP8.0.1 or later
Node24.16.0 or later
npm11.13.0 or later

Get started

Create a project with the Enonic CLI, then build and deploy it:

enonic project create -r starter-react4xp
cd<your-project>
enonic project deploy

Then add a site in Content Studio with this application enabled. The tutorial walks through it.

Versions

RefReact4XPEnonic XPReact
master branch7.x8.0.1 or later19
6.x branch6.1.07.16.1 or later19
v5.1.0 tag5.1.07.13.3 or later18

The 6.x and 7.x lines are maintained as branches and were never tagged. v5.1.0 is the last tagged release; it predates the componentRegistry/dataFetcher model and uses Guillotine, so treat it as legacy reference only.

Issues

Bugs and feature requests: github.com/enonic/starter-react4xp/issues

License

Apache License 2.0

About

React4xp starter with examples, for Enonic XP7

Resources

Contributing

Stars

4 stars

Watchers

5 watching

Forks

Releases

Packages

Used by

Contributors

Languages