Shared configuration and entity definitions for ng-admin and react-admin, two admin-panel generators by marmelab. Version 0.12.4 (latest as of 2021) provides ES6 classes for fields, references, and validation used across both frameworks. The package has been in maintenance mode since 2017, with no active development. It requires a transpiler (Babel) for use in Node.js or bundlers. Designed as an internal dependency, it is not intended for direct use in application code.
npm install admin-configNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates importing NumberField and Validation classes from deep paths and using them with validation (ES6 modules).
Use deep imports like 'admin-config/lib/Field/NumberField'.
Avoid depending on admin-config directly; it is an internal dependency.
Add babel loader for node_modules/admin-config in webpack config.
Use 'import Field from 'admin-config/lib/Field/Field'' instead of 'import { Field } from 'admin-config'.Configure transpiler (e.g., Babel) to process files under node_modules/admin-config.
Install babel-preset-es2015 and add it to your .babelrc or webpack config.
No dependency data recorded yet.