message: packages/cli: update app template to use new createApp
diff: @@ -5,7 +5,7 @@ import React, { FC } from 'react';
  import { BrowserRouter as Router } from 'react-router-dom';
  import * as plugins from './plugins';
  -const useStyles = makeStyles(theme => ({
  +const useStyles = makeStyles((theme) => ({
  '@global': {
  html: {
  height: '100%',
  @@ -23,20 +23,25 @@ const useStyles = makeStyles(theme => ({
  },
  }));
  -const app = createApp();
  -app.registerPlugin(...Object.values(plugins));
  -const AppComponent = app.build();
  +const app = createApp({
  + plugins: Object.values(plugins),
  +});
  +
  +const AppProvider = app.getProvider();
  +const AppComponent = app.getRootComponent();
  const App: FC<{}> = () => {
  useStyles();
  return (
  - <CssBaseline>
  + <AppProvider>
  <ThemeProvider theme={lightTheme}>
  + <CssBaseline>
  <Router>
  <AppComponent />
  </Router>
  - </ThemeProvider>
  </CssBaseline>
  + </ThemeProvider>
  + </AppProvider>
  );
  };
  