Skip to content

Installation & Configuration

Nikolay Nemshilov edited this page Nov 18, 2017 · 2 revisions

A+ forms designed to have a minimal footprint when it comes to installation and configuration requirements; hence the installation process is straight forward:

npm install a-plus-forms

yarn add a-plus-forms

Most of the configuration done via higher order components in the app itself, but there are some defaults that one can override directly:

import { config } from 'a-plus-forms';

config.DefaultValidator // -> the fallback validator class
config.DefaultLayout // -> the fallback inputs layout
config.FormLayout // -> the fallback Form layout