This template gives you everything you need to develop a theme for spiff commerce locally.
The local entrypoint is src/index.tsx
. This is the file that Vite will use to start the development server. The file is responsible for rendering the main application component and setting up the theme configuration.
The following env vars are required to run locally.
VITE_APPLICATION_KEY: This is the application key from spiff hub. Please reach out when you're setting up and we'll help you find this.
Please refer to the file src/configurationSchema.ts
for reading existing theme configuration and for extending with more.