@micromerce/formbuilder-react
v1.0.779
Published
creates a form based on configuration
Keywords
Readme
Local development in services
Change the output > path of the formbuilder-react webpack.common.js to the local lib directory of the other service you want to build the lib to (e.g. service-entity).
For example from:
path: path.resolve(__dirname, "./dist"),to:
path: path.resolve(__dirname, "../../service-entity/webclient/src/js/lib"),Then import the locally generated lib in the specific component of the other service (in this example service-entity):
import Form from '../../lib/formbuilder' instead of
import Form from '@micromerce/formbuilder-react' import Form from "@micromerce/formbuilder-react"