Client side runtime and tooling to build Adaptive Forms. This allows front end developers to create omni-channel adaptive form experiences.
Packages contained in this repository are published to the global npm registry. Artifactory in the scope @adobe. The packages can be consumed as a dependency (i.e. added to the package.json of any project).
To use adaptive form react renderer, add the following dependency,
npm i @adobe/aem-forms-af-core @adobe/aem-forms-af-react-components @adobe/react-spectrum
Node : 16.14.0 and v14.19.0 NPM: v8.3.1 and v6.14.16
The steps in this guide are tested against the above versions only. If your version is different then please try to upgrade or log an issue to see if that version can be supported.
The playground is hosted on git-pages and uses the headless demo instance. To run the playground locally execute the following commands
npx lerna bootstrap
npm run build
npm run start
Our recommendation is to use Node Version Manager so that you can manage multiple installation of Node/NPM
Use git clone
command to clone the repository. To run the storybook locally, you might need to initialize the
git submodule that contains the examples used in the storybook. The commands to do that are
git submodule init
&& git submodule update
There are other ways to do that but for that you need to refer to the git reference
DO NOT RUN npm install
AT THE ROOT OF THE REPOSITORY. IT DOESN'T GO WELL WITH LERNA.
SEE HERE
Once you have cloned this repository and installed the correct version of Node/NPM, run the following command at the root directory of this project
npx lerna bootstrap
We hoist all the packages at the root project.
npm run build
npm run test
npm run start
npm run story
Please raise an issue and a PR.