These demos showcase the usage of FactFinder Web Components. You will also find several special use cases with a custom implementation.
CAUTION: These are not plug-and-play solutions. The purpose of these demos is to provide you with a source to draw inspiration from to build your own individual solution.
- Install Node.js
- Run
npm installfrom your command line
Open your command line tool at the demos' root directory and run
node start.js <directory> [<file>]<directory>is the directory of the demo you want to start, e.g.ff-record-list[<file>]is an optional parameter that specifies the file that shall be loaded. For exampleload-more.html. If you don't specify it, it defaults toindex.html.
Example calls:
node start.js ff-record-list # opens /ff-record-list/index.html
node start.js ff-record-list load-more.html # opens /ff-record-list/load-more.htmlIf you encounter Error: listen EADDRINUSE: address already in use :::9999, port 9999 is already being used.
9999 is the default port used by the demo starting script.
You can change it in the file ./port.js to fit your system.