Is it possible to create a ReactDom in Frontity

import serviceWorkerfrom ‘./serviceWorker’;

const baseUrl = document.getElementsByTagName(‘base’)[0].getAttribute(‘href’);
const rootElement = document.getElementById(‘root’);

ReactDOM.render(
BrowserRouter basename={baseUrl}>
App />
/BrowserRouter>,
rootElement);

serviceWorker();

The above code i need it converted to Frontity, is it possible ?

@vishaldharwadkar72 I think you cannot define another root point to render the Frontity app, but you can render those components in the root of any Frontity package.

Regarding the service worker, you should be able to do something like this:

And use the last version of @frontity/core to create a server middleware that serves the sw.js file.

Got it
Thanks for letting me know