Key Files and Folders
This is not a complete list of files and folders. Just the key files you'll need to know about to get started.
The build directory contains the built assets for your site. This should not be committed to your git repo.
The config directory contains Falcon Client config json files (
production.json etc). In these files you'll be able to configure things like the port Falcon Client is running on.
This directory contains your sites translations. The structure is
en/translations.json for english translations.
This is where everything starts. Other that exporting the app and client state nothing much happens here.
From this file you can override components from within node packages. This is create if you want to change a component from
@deity/falcon-ui-kit for example. Find out more about overriding.
This is where npm packages are installed to.
This defines project details including package requirements.
Falcon Platform uses Prettier for code formatting. You can change the config in this file.
This folder is publicly accessible. You can use it for files such as
This file contains your app. Everything in Falcon Client starts here. A lot happens in this file including mapping components to routes.
This is where static assets live. It's a great place to put files like touch icons and other similar images.
This is the home to your global components such as the header.
This file contains your sites
This is the home to page & page specific components. You'll find most of the checkout and shop components in here.
This file exports SVG icons to be used throughout the site.
This file contains your theme variables such as colors and spacing. More information on theming.
This is compiled into your sites service worker. You can add to this if you need custom service worker code.