Base CRA Template optimized for a DomoApp.
- The manifest and thumbnail are provided in the
public
folder. - The proxy server is setup with
@domoinc/ryuu-proxy
for local development to your domo instance. - An upload script has been added to the package.json for easy upload.
Steps to get going
- Use the domoapps cli to login to your Domo instance
domo login
- Upload your base app to your Domo instance using
yarn upload
ornpm run upload
- The project will build, add all assets to the
build
folder, and then upload the assets to Domo - The
manifest.json
file in thebuild
folder will be modified by the domoapps cli to include anid
property. You will want to copy thisid
into the manifest in yourpublic
folder so that it doesn't continue to create a newid
on each upload - If you intend to use AppDB, make sure to also add a
proxyId
to themanifest.json
file in yourpublic
folder. See documentation for more info.
This is the official base template for Create React App.
If you don't specify a template (for example, --template typescript
), this template will be used by default.
For more information, please refer to:
- Getting Started – How to create a new app.
- User Guide – How to develop apps bootstrapped with Create React App.