This is a mod template project. It contains the minimum amount of code necessary to run a working mod.
All source code for the mod example can be found in the src
folder.
These instructions assume that you have Node.js (which includes npm) installed.
- Open a terminal at the location of this example.
- Run
npm install
. This will install necessary tools. Run this command only the first time you are building the mod and skip this step for any subsequent builds. - Run
npm run server
. This will start a development server. - Start editing, for example
src/main.js
. - In Spotfire, follow the steps of creating a new mod and connecting to the development server.
- In Spotfire, follow the steps of creating a new mod and then browse for, and point to, the manifest in the
src
folder.