Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@axelor/ui

Package Overview
Dependencies
Maintainers
0
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@axelor/ui

React components by Axelor.

  • 0.2.9
  • npm
  • Socket score

Version published
Maintainers
0
Created
Source

Axelor-UI

React components by Axelor.

Prerequisite

  • node >= v20
  • pnpm >= 9
# Nodejs
$ curl -fsSL https://deb.nodesource.com/setup_lts.x | bash -
$ sudo apt-get install -y nodejs

# Alternatively, `nvm` can be used as a Node Version Manager
$ curl https://raw.githubusercontent.com/creationix/nvm/master/install.sh | bash
$ source ~/.profile
$ nvm install 20

# pnpm
$ corepack enable
$ corepack prepare pnpm@latest-9 --activate

Quick start

Install the library :

$ pnpm add @axelor/ui

You can import from the main bundle:

import { Button } from '@axelor/ui';

Only core components are available from the main bundle.

For others components (grid, kanban, gantt, ...), you have to import the component directly :

import Grid from '@axelor/ui/grid';

import Kanban from '@axelor/ui/kanban';

Development

Before any command, install dependencies running following command:

$ pnpm install

Storybook

Run following commands to build storybook :

$ pnpm build-storybook

This build Storybook as a static web application capable of being served by any web server. Default build files are located under storybook-static/*

To run storybook locally :

$ pnpm storybook

the storybook will be served on http://localhost:6006

Build

Run following command to build components :

$ pnpm build

components are generated under dist/.

Keywords

FAQs

Package last updated on 20 Sep 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc