Base adresse nationale autocomplete vox (React)
React component to autocomplete addresses using the Base adresses nationale (BAN) API.
Requirements
This widget is written in ECMA 2015.
- Node
- NPM
Install
cd path/to/your/projectnpm install ban-autocomplete-react
Setup
Simple script reference
See an example in index.html.
Webpack
;//If you have a div#widget-container to show the widget;
See an example in index.jsx.
Development
Rebuild the component every time the sources change
npm run dev
Build the component
npm run build