• Initialize all the up front code required for running subapps in the browser.

    Parameters

    • setupContext: any

      context for setup

    • setupToken: Partial<{
          props: InitProps;
      }>

      token for setup

    Returns {
        process(context): string;
    }

    data with template process callback

    • process:function