These demos showcase the usage of FACT-Finder Web Components. You will also find several special use cases with a custom implementation.
- Install Node.js
- Run
npm install
from 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.html
If 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.