Jui Grid screenshot

Jui Grid

Author Avatar Theme by Juijs
Updated: 13 May 2021
11 Stars

JUI grid can handle millions of data, and can display the data in a hierarchical structure.

Categories

Overview

This article provides a brief explanation and guide on how to install a theme using several methods including NPM, browser, and ES Modules. It also outlines the differences between these installation methods and provides an example of the usage of a UI component creation code.

Features

  • NPM installation: Install the theme through the NPM package manager.
  • Browser installation: Install the theme directly from the browser.
  • ES Modules installation: Install the theme using ES Modules.

Installation

To install the theme using NPM, follow these steps:

  1. Open your terminal or command prompt.
  2. Run the following command: npm install theme-name
  3. Wait for the installation process to complete.

To install the theme directly from the browser, follow these steps:

  1. Open the browser.
  2. Navigate to the theme’s website.
  3. Click on the “Download” button.
  4. Save the theme file to your desired location.

To install the theme using ES Modules, follow these steps:

  1. Create an index.less file.
  2. Add the necessary imports and configurations.
  3. Use the ‘use’ function to add the module directly.
  4. Only use the styles you want to bundle.

Summary

This article provides a guide on how to install a theme using different methods, including NPM, browser, and ES Modules. It highlights the differences between these methods and provides step-by-step instructions for each. The article also includes a brief example of UI component creation code.