jContent for Jahia. This module provides the main authoring UI for Jahia.
Note, please, the project is using resources (mainly @jahia/* packages), which have not yet been made available on public repositories. If you encounter any issues with the build, please, contact us at Jahia and we will take care of it.
Compile and deploy the module using:
mvn clean install
By default the module compiles all the Javascript in production mode. If you want to compile in development mode (Javascript is not compressed) you can use the "dev" Maven profile as in the following example:
mvn clean install -P dev
yarn build
yarn watch
The application is packaged using Webpack and is composed of the following main blocks:
- ReactJS, https://reactjs.org
- Redux, https://redux.js.org
- React Material, https://material-ui.com
- Apollo GraphQL client, https://www.apollographql.com
- i18next (for internationalization support), https://www.i18next.com
The entry point to the React app is in
src/javascript/ContentManagerApp.jsx
The application uses Redux to manage state, and synchronizes the state with the URL so that some parts of the state are bookmarkeable.
The main route contains the site key and the language of the content as well as the mode in which we are (pages, search,
apps). The routing is done in the ContentManager
component.
This is an Open-Source module, you can find more details about Open-Source @ Jahia in this repository.