@domoinc/cra-template
v1.0.2
Published
The base template for Create React App.
Readme
Base CRA Template optimized for a DomoApp.
- The manifest and thumbnail are provided in the
publicfolder. - The proxy server is setup with
@domoinc/ryuu-proxyfor 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 uploadornpm run upload - The project will build, add all assets to the
buildfolder, and then upload the assets to Domo - The
manifest.jsonfile in thebuildfolder will be modified by the domoapps cli to include anidproperty. You will want to copy thisidinto the manifest in yourpublicfolder so that it doesn't continue to create a newidon each upload - If you intend to use AppDB, make sure to also add a
proxyIdto themanifest.jsonfile in yourpublicfolder. See documentation for more info.
cra-template
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.
