Skip to content

enonic/lib-admin-ui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ad8f25f · Feb 26, 2025
Jan 3, 2025
May 29, 2024
Feb 26, 2025
Apr 22, 2022
Oct 9, 2020
Oct 8, 2024
Jan 10, 2023
Dec 20, 2017
Oct 14, 2024
Jul 6, 2020
Jan 6, 2025
Nov 18, 2024
Feb 26, 2025
May 29, 2024
May 29, 2024
Feb 25, 2025
Feb 25, 2025
Apr 8, 2020
Apr 7, 2019
Oct 14, 2024
Dec 22, 2022

Repository files navigation

Admin UI Library for Enonic XP

Actions Status License Codacy Badge

UI framework, that provides Enonic applications with core components and styles.

Usage

Place the following dependency in your build.gradle file:

dependencies {
    include 'com.enonic.lib:lib-admin-ui:1.2.0'
}

Building

Default

Run the following command to build with default options:

./gradlew build

Environment

The project will be built in production environment by default. But you can also set it explicitly by passing the env parameter with environment type:

./gradlew build -Penv=dev

There are only two options that are available now:

  • prod
  • dev

Both environments are almost identical, except that building in the development environment will result in creating the DTS files, sourcemaps and other things, critical for the debugging. The build itself may also be a bit slower sometimes.

Quick

Sometimes, you may want to build your project faster. To do so, just skip the linting (lint task) and testing (test task):

./gradlew build -x lint -x test

NPM upgrade

In case you want forcefully update all your node dependencies, use:

./gradlew npmInstallForce

Take a note, that you can also use aliases in Gradle, and nIF would be just enough to run npmInstallForce.

Dependencies

Some code and configs are shared across the application. They are moved to the separate repository and published as npm packages.

Common .less styles and mixins can be also found under enonic-admin-artifacts.